channellist: fix numeric zap input

Origin commit data
------------------
Commit: ccc14fa0a7
Author: vanhofen <vanhofen@gmx.de>
Date: 2022-07-12 (Tue, 12 Jul 2022)

Origin message was:
------------------
- channellist: fix numeric zap input
This commit is contained in:
vanhofen
2022-07-12 22:48:49 +02:00
parent 73b9a4926a
commit c73a56a936

View File

@@ -1425,7 +1425,7 @@ int CChannelList::numericZap(int key)
// do nothing // do nothing
} }
else if (CRCInput::isNumeric(msg)) { else if (CRCInput::isNumeric(msg)) {
if (pos == 4) { if (pos == (int) maxchansize) {
chn = 0; chn = 0;
pos = 1; pos = 1;
} else { } else {