From 6a6c7b2496ae81246ec700fbc499464d81631b2d Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Sun, 21 May 2017 20:40:51 +0200 Subject: Fix SIGWINCH handling --- hex.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hex.c b/hex.c index 17047db..a07f682 100644 --- a/hex.c +++ b/hex.c @@ -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; } } -- cgit v1.2.3-70-g09d2