diff options
author | Max Kellermann <max@duempel.org> | 2008-10-03 14:28:43 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-03 14:28:43 +0200 |
commit | 0ae851aa39de5dfdf6b97c3e774aa322c820f410 (patch) | |
tree | e96335f74369573b256f3ef65166324f5bab3d42 /src/screen_keydef.c | |
parent | b64329b9942d2315dd968264e92a51d63a135a77 (diff) | |
download | mpd-0ae851aa39de5dfdf6b97c3e774aa322c820f410.tar.gz mpd-0ae851aa39de5dfdf6b97c3e774aa322c820f410.tar.xz mpd-0ae851aa39de5dfdf6b97c3e774aa322c820f410.zip |
removed KEY_RESIZE
Since we are handling SIGWINCH, we do not need to handle KEY_RESIZE
from ncurses. Remove it.
Diffstat (limited to 'src/screen_keydef.c')
-rw-r--r-- | src/screen_keydef.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/screen_keydef.c b/src/screen_keydef.c index 6e9cb9a25..268bc48d9 100644 --- a/src/screen_keydef.c +++ b/src/screen_keydef.c @@ -160,9 +160,6 @@ assign_new_key(WINDOW *w, int cmd_index, int key_index) key = screen_getch(w, buf); g_free(buf); - if (key == KEY_RESIZE) - screen_resize(); - if (key==ERR) { screen_status_printf(_("Aborted!")); return; |