Christian Göttsche
2020-09-11 19:27:56 +02:00
committed by cgzones
parent 1f5bd5c4c8
commit 8a849bc85a
6 changed files with 6 additions and 6 deletions

View File

@ -137,7 +137,7 @@ bool IncSet_handleKey(IncSet* this, int ch, Panel* panel, IncMode_GetPanelValue
if (size == 0) return true;
IncMode_find(mode, panel, getPanelValue, 1);
doSearch = false;
} else if (ch < 255 && isprint((char)ch)) {
} else if (0 < ch && ch < 255 && isprint((unsigned char)ch)) {
if (mode->index < INCMODE_MAX) {
mode->buffer[mode->index] = ch;
mode->index++;