From ea12d0dd6fb7885580a8af3913984eefce63c87a Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Wed, 14 Jul 2010 03:39:40 +0000 Subject: Devilhorns, trust me. It was right. SVN revision: 50244 --- src/modules/illume/e_kbd_buf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/illume') diff --git a/src/modules/illume/e_kbd_buf.c b/src/modules/illume/e_kbd_buf.c index 28100b573c..73ab903a84 100644 --- a/src/modules/illume/e_kbd_buf.c +++ b/src/modules/illume/e_kbd_buf.c @@ -384,7 +384,7 @@ e_kbd_buf_layout_key_add(E_Kbd_Buf *kb, const char *key, const char *key_shift, if (!kb->layout) return; ky = E_NEW(E_Kbd_Buf_Key, 1); if (!ky) return; - if (key) ky->key = eina_stringshare_add(key); + ky->key = eina_stringshare_add(key); if (key_shift) ky->key_shift = eina_stringshare_add(key_shift); if (key_capslock) ky->key_capslock = eina_stringshare_add(key_capslock); ky->x = x; -- cgit v1.2.1