diff options
Diffstat (limited to 'textscreen')
-rw-r--r-- | textscreen/txt_inputbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/textscreen/txt_inputbox.c b/textscreen/txt_inputbox.c index 79c9e90e..11029e4b 100644 --- a/textscreen/txt_inputbox.c +++ b/textscreen/txt_inputbox.c @@ -170,7 +170,7 @@ static int TXT_IntInputBoxKeyPress(TXT_UNCAST_ARG(inputbox), int key) inputbox->editing = 0; } - if (isprint(key)) + if (isdigit(key)) { // Add character to the buffer |