terminology - let's stop spewing out a warning all the time in keyin.c

This commit is contained in:
Carsten Haitzler 2014-12-03 08:29:02 +09:00
parent a92582126f
commit 40e2ca168a
1 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ _key_try(Termpty *ty, const Tty_Key *map, int len, const Evas_Event_Key_Down *ev
{
if ((inlen == map[i].key_len) && (!memcmp(ev->key, map[i].key, inlen)))
{
const struct _s *s;
const struct _s *s = NULL;
const Key_Values *kv;
if (!ty->state.appcursor) kv = &map[i].default_mode;
@ -78,7 +78,7 @@ _key_try(Termpty *ty, const Tty_Key *map, int len, const Evas_Event_Key_Down *ev
else if (!alt && ctrl && shift) s = &kv->shift_ctrl;
else if (alt && ctrl && shift) s = &kv->shift_ctrl_alt;
termpty_write(ty, s->s, s->len);
if (s) termpty_write(ty, s->s, s->len);
return EINA_TRUE;
}
}