diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib/elput/elput_evdev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elput/elput_evdev.c b/src/lib/elput/elput_evdev.c index fd02e2a634..7f2abd0d7c 100644 --- a/src/lib/elput/elput_evdev.c +++ b/src/lib/elput/elput_evdev.c | |||
@@ -535,7 +535,7 @@ in this Software without prior written authorization from The Open Group. | |||
535 | */ | 535 | */ |
536 | 536 | ||
537 | if (((c >= '@') && (c <= '_')) || /* those are the one defined in C0 with capital letters */ | 537 | if (((c >= '@') && (c <= '_')) || /* those are the one defined in C0 with capital letters */ |
538 | ((c >= 'a') && (c <= 'z')) || /* the lowercase symbols (not part of the standard, but usefull */ | 538 | ((c >= 'a') && (c <= 'z')) || /* the lowercase symbols (not part of the standard, but useful) */ |
539 | c == ' ') | 539 | c == ' ') |
540 | c &= 0x1F; | 540 | c &= 0x1F; |
541 | else if (c == '\x7f') | 541 | else if (c == '\x7f') |
@@ -559,7 +559,7 @@ in this Software without prior written authorization from The Open Group. | |||
559 | } | 559 | } |
560 | else | 560 | else |
561 | { | 561 | { |
562 | /* if its not a control code, try to produce a usefull output */ | 562 | /* if its not a control code, try to produce useful output */ |
563 | if (!xkb_keysym_to_utf8(keysym, buffer, bytes)) | 563 | if (!xkb_keysym_to_utf8(keysym, buffer, bytes)) |
564 | return 0; | 564 | return 0; |
565 | } | 565 | } |