diff options
author | Daniel Lange <DLange@git.local> | 2018-04-11 01:26:28 +0200 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2018-04-11 01:26:28 +0200 |
commit | c60f4cf3c1d91bd786db8e081699f420f44631f3 (patch) | |
tree | b30ce33fd0d49398b52bf9a90b42304a7c32455a /Panel.c | |
parent | 2ee50d030178cede83eb9d0005fbc19f819d30fe (diff) | |
download | debian_htop-c60f4cf3c1d91bd786db8e081699f420f44631f3.tar.gz debian_htop-c60f4cf3c1d91bd786db8e081699f420f44631f3.tar.bz2 debian_htop-c60f4cf3c1d91bd786db8e081699f420f44631f3.zip |
New upstream version 2.2.0
Diffstat (limited to 'Panel.c')
-rw-r--r-- | Panel.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -469,7 +469,7 @@ HandlerResult Panel_selectByTyping(Panel* this, int ch) { this->eventHandlerState = xCalloc(100, sizeof(char)); char* buffer = this->eventHandlerState; - if (ch < 255 && isalnum(ch)) { + if (ch > 0 && ch < 255 && isalnum(ch)) { int len = strlen(buffer); if (len < 99) { buffer[len] = ch; |