diff options
author | Bryce Harrington <bryce@osg.samsung.com> | 2017-06-05 10:58:01 -0700 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2017-06-05 12:04:43 -0700 |
commit | e1fbde9e5b3bf9059b52421ace7535880ca3ba93 (patch) | |
tree | e3035a1aee4ef9d57ccb7edf41071ddaf0807752 | |
parent | a026fad7794dc7d900151cb4c11bde1bf1c69fce (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 '')
-rw-r--r-- | src/lib/ecore_wl2/ecore_wl2_input.c | 4 | ||||
-rw-r--r-- | src/lib/elementary/elm_widget.c | 2 | ||||
-rw-r--r-- | src/lib/elput/elput_evdev.c | 4 |
3 files changed, 5 insertions, 5 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 | } |
diff --git a/src/lib/elementary/elm_widget.c b/src/lib/elementary/elm_widget.c index 8bfcf22cc8..f07b6427f2 100644 --- a/src/lib/elementary/elm_widget.c +++ b/src/lib/elementary/elm_widget.c | |||
@@ -4186,7 +4186,7 @@ _elm_widget_efl_object_dbg_info_get(Eo *eo_obj, Elm_Widget_Smart_Data *_pd EINA_ | |||
4186 | 4186 | ||
4187 | } | 4187 | } |
4188 | 4188 | ||
4189 | //if thats a focus manager, give usefull informations like the border elements | 4189 | //if thats a focus manager, give useful information like the border elements |
4190 | if (efl_isa(eo_obj, EFL_UI_FOCUS_MANAGER_CLASS)) | 4190 | if (efl_isa(eo_obj, EFL_UI_FOCUS_MANAGER_CLASS)) |
4191 | { | 4191 | { |
4192 | Efl_Dbg_Info *border; | 4192 | Efl_Dbg_Info *border; |
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 | } |