Fix SIGWINCH handling

This commit is contained in:
Přemysl Eric Janouch 2017-05-21 20:40:51 +02:00
parent 5f207835cc
commit 6a6c7b2496
Signed by: p
GPG Key ID: B715679E3A361BE6
1 changed files with 1 additions and 2 deletions

3
hex.c
View File

@ -1776,11 +1776,10 @@ app_on_signal_pipe_readable (const struct pollfd *fd, void *user_data)
if (g_winch_received)
{
g_winch_received = false;
update_curses_terminal_size ();
app_fix_view_range ();
app_invalidate ();
g_winch_received = false;
}
}