From 7e91851d94e4e7e038014ef2723a074e367e1da4 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Tue, 12 Jul 2022 22:48:49 +0200 Subject: [PATCH] channellist: fix numeric zap input Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/ccc14fa0a7ae60f6acb3fb7cd874c5a9e7e7620c Author: vanhofen Date: 2022-07-12 (Tue, 12 Jul 2022) Origin message was: ------------------ - channellist: fix numeric zap input ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- 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 1a28e4f9c..4a4089d77 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 {