diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2004-10-01 13:21:35 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2004-10-01 13:21:35 +0000 |
| commit | ddc3964ed95d01e72229dc9af968a327cd84e56c (patch) | |
| tree | 93e6694c639db3d188f5b2868f6b2b2951d21d60 /lib/dvb/db.cpp | |
| parent | 1aeefd997cc362c3b37c1587c5f08891b35c3a75 (diff) | |
| download | enigma2-ddc3964ed95d01e72229dc9af968a327cd84e56c.tar.gz enigma2-ddc3964ed95d01e72229dc9af968a327cd84e56c.zip | |
- add python, missing gui
- remove console (needs to be rewritten anyway)
- eString -> std::string
Diffstat (limited to 'lib/dvb/db.cpp')
| -rw-r--r-- | lib/dvb/db.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/dvb/db.cpp b/lib/dvb/db.cpp index 5426fa4b..1a2cd7df 100644 --- a/lib/dvb/db.cpp +++ b/lib/dvb/db.cpp @@ -126,7 +126,7 @@ eDVBDB::eDVBDB() if (strlen(line)) line[strlen(line)-1]=0; - eString str=line; + std::string str=line; if (str[1]!=':') // old ... (only service_provider) { @@ -136,15 +136,15 @@ eDVBDB::eDVBDB() { unsigned int c=str.find(','); char p=str[0]; - eString v; - if (c == eString::npos) + std::string v; + if (c == std::string::npos) { - v=str.mid(2); + v=str.substr(2); str=""; } else { - v=str.mid(2, c-2); - str=str.mid(c+1); + v=str.substr(2, c-2); + str=str.substr(c+1); } // eDebug("%c ... %s", p, v.c_str()); if (p == 'p') |
