diff options
-rw-r--r-- | dmenu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -415,7 +415,7 @@ keypress(XKeyEvent *ev) | |||
415 | switch(ksym) { | 415 | switch(ksym) { |
416 | default: | 416 | default: |
417 | insert: | 417 | insert: |
418 | if (!iscntrl(*buf)) | 418 | if (!iscntrl((unsigned char)*buf)) |
419 | insert(buf, len); | 419 | insert(buf, len); |
420 | break; | 420 | break; |
421 | case XK_Delete: | 421 | case XK_Delete: |