forked from enlightenment/enlightenment
wl-x11: Declare keyboard strings as NULL (initially) to avoid crash
when updating keymap Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
f56a08fc6c
commit
31e38208b4
|
@ -19,7 +19,7 @@ _cb_keymap_changed(void *data, int type EINA_UNUSED, void *event EINA_UNUSED)
|
|||
{
|
||||
E_Comp_Data *cdata;
|
||||
E_Config_XKB_Layout *ekbd;
|
||||
char *rules, *model, *layout;
|
||||
char *rules = NULL, *model = NULL, *layout = NULL;
|
||||
Ecore_X_Atom xkb = 0;
|
||||
Ecore_X_Window root = 0;
|
||||
int len = 0;
|
||||
|
|
Loading…
Reference in New Issue