diff options
author | lado <herrlado@gmail.com> | 2011-11-01 15:16:30 +0100 |
---|---|---|
committer | lado <herrlado@gmail.com> | 2011-11-01 15:16:30 +0100 |
commit | 571ea958df6863767d343bfe9b2e7d440353f0cf (patch) | |
tree | 68a59102462b0cc973f4b16af5c199a630613cb5 /vdr-vdrmanager/helpers.cpp | |
parent | f21a50e947a6857c1e680e41c2a5acc38479441a (diff) | |
download | vdr-manager-571ea958df6863767d343bfe9b2e7d440353f0cf.tar.gz vdr-manager-571ea958df6863767d343bfe9b2e7d440353f0cf.tar.bz2 |
Bug #775
Diffstat (limited to 'vdr-vdrmanager/helpers.cpp')
-rw-r--r-- | vdr-vdrmanager/helpers.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vdr-vdrmanager/helpers.cpp b/vdr-vdrmanager/helpers.cpp index 23e4d28..8eba3e7 100644 --- a/vdr-vdrmanager/helpers.cpp +++ b/vdr-vdrmanager/helpers.cpp @@ -62,7 +62,7 @@ string cHelpers::SearchEvents(string args) { string pattern; - size_t space = args.find(' '); + size_t space = args.find(':'); if (space == string::npos) {//so only search term pattern = args; wantedChannels = ""; @@ -70,7 +70,7 @@ string cHelpers::SearchEvents(string args) { wantedChannels = args.substr(0, space); pattern = args.substr(space+1); } - + pattern = UnMapSpecialChars(pattern); return SafeCall(SearchEventsIntern, Trim(wantedChannels), Trim(pattern)); } |