summaryrefslogtreecommitdiff
path: root/src/lib/elput
diff options
context:
space:
mode:
authorBryce Harrington <bryce@osg.samsung.com>2017-06-05 10:58:01 -0700
committerCedric BAIL <cedric@osg.samsung.com>2017-06-05 12:04:43 -0700
commite1fbde9e5b3bf9059b52421ace7535880ca3ba93 (patch)
treee3035a1aee4ef9d57ccb7edf41071ddaf0807752 /src/lib/elput
parenta026fad7794dc7d900151cb4c11bde1bf1c69fce (diff)
elput: fix sp. usefull
Reviewers: cedric Reviewed By: cedric Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4935 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/lib/elput')
-rw-r--r--src/lib/elput/elput_evdev.c4
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 }