Fix cursor keys etc. in unibilium

unibi_pkey_xmit was the wrong constant.
This commit is contained in:
Přemysl Eric Janouch 2016-09-27 23:43:46 +02:00
parent 9ec09b90c9
commit 4282f3715c
Signed by: p
GPG Key ID: B715679E3A361BE6
1 changed files with 2 additions and 2 deletions

View File

@ -288,7 +288,7 @@ load_terminfo (termo_ti_t *ti, const char *term)
// instances for multiple different termtypes, and it's different by the
// time we want to use it
#ifdef HAVE_UNIBILIUM
const char *keypad_xmit = unibi_get_str (unibi, unibi_pkey_xmit);
const char *keypad_xmit = unibi_get_str (unibi, unibi_keypad_xmit);
#endif
if (keypad_xmit)
@ -297,7 +297,7 @@ load_terminfo (termo_ti_t *ti, const char *term)
ti->start_string = NULL;
#ifdef HAVE_UNIBILIUM
const char *keypad_local = unibi_get_str (unibi, unibi_pkey_local);
const char *keypad_local = unibi_get_str (unibi, unibi_keypad_local);
#endif
if (keypad_local)