From a80c10e90f5213b681fa32a52198ec81f454adac Mon Sep 17 00:00:00 2001 From: Paul LeoNerd Evans Date: Wed, 8 Oct 2008 00:53:59 +0100 Subject: Tiny bugfix to termkey.c's initialiser; actually handle multiple driver search properly --- termkey.c | 1 + 1 file changed, 1 insertion(+) diff --git a/termkey.c b/termkey.c index a5f73db..ca7e28b 100644 --- a/termkey.c +++ b/termkey.c @@ -91,6 +91,7 @@ termkey_t *termkey_new_full(int fd, int flags, size_t buffsize, int waittime) tk->driver = *(drivers[i]); tk->driver_info = driver_info; + break; } if(!tk->driver_info) { -- cgit v1.2.3-70-g09d2