libtermkey/0002-Bugfix-for-keypad-mode...

39 lines
1.2 KiB
Diff

From e044a1603ec1d30e7b8cc765598c3160c857c367 Mon Sep 17 00:00:00 2001
From: Paul LeoNerd Evans <leonerd@leonerd.org.uk>
Date: Tue, 27 Sep 2016 23:18:20 +0100
Subject: [PATCH 2/7] =?UTF-8?q?Bugfix=20for=20keypad=20mode=20switching=20?=
=?UTF-8?q?unibilium/TI=20driver=20(thanks=20P=C5=99emysl=20Janouch)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
driver-ti.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/driver-ti.c b/driver-ti.c
index d827bdf..d678c12 100644
--- a/driver-ti.c
+++ b/driver-ti.c
@@ -239,7 +239,7 @@ static int load_terminfo(TermKeyTI *ti, const char *term)
* 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)
@@ -248,7 +248,7 @@ static int load_terminfo(TermKeyTI *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)
--
2.11.0