summaryrefslogtreecommitdiff
path: root/vdr-vdrmanager/helpers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'vdr-vdrmanager/helpers.cpp')
-rw-r--r--vdr-vdrmanager/helpers.cpp4
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));
}