From f05e40a30a008e0197fe0c8b192f399c448a95c6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C5=99emysl=20Janouch?=
Date: Sat, 8 Aug 2015 23:51:29 +0200
Subject: Don't interpret an n* as (n-1)*-
---
driver-ti.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'driver-ti.c')
diff --git a/driver-ti.c b/driver-ti.c
index 6ac213f..c94079f 100644
--- a/driver-ti.c
+++ b/driver-ti.c
@@ -466,7 +466,7 @@ free_driver (void *info)
static termo_result_t
peekkey (termo_t *tk, void *info,
- termo_key_t *key, int force, size_t *nbytep)
+ termo_key_t *key, int flags, size_t *nbytep)
{
termo_ti_t *ti = info;
@@ -512,7 +512,7 @@ peekkey (termo_t *tk, void *info,
// If p is not NULL then we hadn't walked off the end yet, so we have a
// partial match
- if (p && !force)
+ if (p && !(flags & PEEKKEY_FORCE))
return TERMO_RES_AGAIN;
return TERMO_RES_NONE;
--
cgit v1.2.3