simplification
f0818217
1 file(s) · +1 −1
| 230 | 230 | } |
|
| 231 | 231 | switch(ksym) { |
|
| 232 | 232 | default: |
|
| 233 | - | if(!iscntrl(*buf)) |
|
| 233 | + | if(*buf) |
|
| 234 | 234 | insert(buf, strlen(buf)); |
|
| 235 | 235 | break; |
|
| 236 | 236 | case XK_Delete: |