Tiny bugfix to termkey.c's initialiser; actually handle multiple driver search properly

This commit is contained in:
Paul LeoNerd Evans 2008-10-08 00:53:59 +01:00
parent 10d3024a6a
commit a80c10e90f
1 changed files with 1 additions and 0 deletions

View File

@ -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) {