aboutsummaryrefslogtreecommitdiff
path: root/hex.c
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2017-05-21 20:40:51 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2017-05-21 21:10:37 +0200
commit6a6c7b2496ae81246ec700fbc499464d81631b2d (patch)
tree407162093c735ee0dcbfdac55ba6232832db7691 /hex.c
parent5f207835cc1b6d1c14139c2924f1eb4eeb247999 (diff)
downloadhex-6a6c7b2496ae81246ec700fbc499464d81631b2d.tar.gz
hex-6a6c7b2496ae81246ec700fbc499464d81631b2d.tar.xz
hex-6a6c7b2496ae81246ec700fbc499464d81631b2d.zip
Fix SIGWINCH handling
Diffstat (limited to 'hex.c')
-rw-r--r--hex.c3
1 files changed, 1 insertions, 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;
}
}