summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wl2/ecore_wl2_input.c
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/ecore_wl2/ecore_wl2_input.c
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/ecore_wl2/ecore_wl2_input.c')
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2_input.c b/src/lib/ecore_wl2/ecore_wl2_input.c
index 27efce865a..c544a8940c 100644
--- a/src/lib/ecore_wl2/ecore_wl2_input.c
+++ b/src/lib/ecore_wl2/ecore_wl2_input.c
@@ -545,7 +545,7 @@ in this Software without prior written authorization from The Open Group.
545 */ 545 */
546 546
547 if (((c >= '@') && (c <= '_')) || /* those are the one defined in C0 with capital letters */ 547 if (((c >= '@') && (c <= '_')) || /* those are the one defined in C0 with capital letters */
548 ((c >= 'a') && (c <= 'z')) || /* the lowercase symbols (not part of the standard, but usefull */ 548 ((c >= 'a') && (c <= 'z')) || /* the lowercase symbols (not part of the standard, but useful) */
549 c == ' ') 549 c == ' ')
550 c &= 0x1F; 550 c &= 0x1F;
551 else if (c == '\x7f') 551 else if (c == '\x7f')
@@ -569,7 +569,7 @@ in this Software without prior written authorization from The Open Group.
569 } 569 }
570 else 570 else
571 { 571 {
572 /* if its not a control code, try to produce a usefull output */ 572 /* if its not a control code, try to produce useful output */
573 if (!xkb_keysym_to_utf8(keysym, buffer, bytes)) 573 if (!xkb_keysym_to_utf8(keysym, buffer, bytes))
574 return 0; 574 return 0;
575 } 575 }