projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb3548f
)
e_bindings_key_allowed() handles NULL param
author
Mike Blumenkrantz
<zmike@samsung.com>
Fri, 4 Apr 2014 17:26:25 +0000
(13:26 -0400)
committer
Mike Blumenkrantz
<zmike@samsung.com>
Fri, 4 Apr 2014 19:04:27 +0000
(15:04 -0400)
CID
1191998
src/bin/e_bindings.c
patch
|
blob
|
history
diff --git
a/src/bin/e_bindings.c
b/src/bin/e_bindings.c
index bd982fe869254c5bea532cbd2fdd19813d3534f0..0b9ce265ba027a183b6945817bd62838999dd946 100644
(file)
--- a/
src/bin/e_bindings.c
+++ b/
src/bin/e_bindings.c
@@
-743,6
+743,7
@@
e_bindings_key_up_event_find(E_Binding_Context ctxt, Ecore_Event_Key *ev)
EAPI Eina_Bool
e_bindings_key_allowed(const char *key)
{
+ if (!key) return EINA_FALSE;
if ((!strcmp(key, "Shift_L")) ||
(!strcmp(key, "Shift_R")) ||
(!strcmp(key, "Control_L")) ||