From 1fdb13e49ae28ebb636b96e379cf2cbe2496fa4e Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Tue, 12 Jul 2022 22:48:49 +0200 Subject: [PATCH] - channellist: fix numeric zap input Signed-off-by: Thilo Graf --- src/gui/channellist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/channellist.cpp b/src/gui/channellist.cpp index 91c6a21f3..b154aa8b2 100644 --- a/src/gui/channellist.cpp +++ b/src/gui/channellist.cpp @@ -1425,7 +1425,7 @@ int CChannelList::numericZap(int key) // do nothing } else if (CRCInput::isNumeric(msg)) { - if (pos == 4) { + if (pos == (int) maxchansize) { chn = 0; pos = 1; } else {