summaryrefslogtreecommitdiff
path: root/epgsearchext.c
diff options
context:
space:
mode:
Diffstat (limited to 'epgsearchext.c')
-rw-r--r--epgsearchext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epgsearchext.c b/epgsearchext.c
index db0a9a7..9d11c3b 100644
--- a/epgsearchext.c
+++ b/epgsearchext.c
@@ -478,7 +478,7 @@ bool cSearchExt::Parse(const char *s)
#else
char *channelMinbuffer = NULL;
char *channelMaxbuffer = NULL;
- int channels = sscanf(value, "%a[^|]|%a[^|]", &channelMinbuffer, &channelMaxbuffer);
+ int channels = sscanf(value, "%m[^|]|%m[^|]", &channelMinbuffer, &channelMaxbuffer);
#endif
channelMin = Channels.GetByChannelID(tChannelID::FromString(channelMinbuffer), true, true);
if (!channelMin)