From 571ea958df6863767d343bfe9b2e7d440353f0cf Mon Sep 17 00:00:00 2001 From: lado Date: Tue, 1 Nov 2011 15:16:30 +0100 Subject: Bug #775 --- vdr-vdrmanager/helpers.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vdr-vdrmanager/helpers.cpp') 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)); } -- cgit v1.2.3