aboutsummaryrefslogtreecommitdiff
path: root/termkey.c
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-10-08 00:53:59 +0100
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-10-08 00:53:59 +0100
commita80c10e90f5213b681fa32a52198ec81f454adac (patch)
treecf68719f5710359da5a46c64150e261667db9e34 /termkey.c
parent10d3024a6af956bf8cd7dc61a5e41864b6fbc4f6 (diff)
downloadtermo-a80c10e90f5213b681fa32a52198ec81f454adac.tar.gz
termo-a80c10e90f5213b681fa32a52198ec81f454adac.tar.xz
termo-a80c10e90f5213b681fa32a52198ec81f454adac.zip
Tiny bugfix to termkey.c's initialiser; actually handle multiple driver search properly
Diffstat (limited to 'termkey.c')
-rw-r--r--termkey.c1
1 files changed, 1 insertions, 0 deletions
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) {