diff options
-rw-r--r-- | src/gui/curses/gui-curses-main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/curses/gui-curses-main.c b/src/gui/curses/gui-curses-main.c index b774f28df..0641a75cd 100644 --- a/src/gui/curses/gui-curses-main.c +++ b/src/gui/curses/gui-curses-main.c @@ -457,8 +457,7 @@ gui_main_loop () } /* remove keyboard hook */ - if (hook_fd_keyboard) - unhook (hook_fd_keyboard); + unhook (hook_fd_keyboard); } /* |