gui: Fix window redrawing on SIGWINCH.
authorAndre Noll <maan@systemlinux.org>
Sat, 5 Mar 2011 11:42:04 +0000 (12:42 +0100)
committerAndre Noll <maan@systemlinux.org>
Sat, 5 Mar 2011 11:42:04 +0000 (12:42 +0100)
commit97a56f2c791383a50a00bb9442fc3e6c64f71a52
tree38529100245849a699d4b1323762a0aee2d7bf23
parentde96aa2a6141626fce73aa682efc37912f4778a4
gui: Fix window redrawing on SIGWINCH.

It is incorrect to check the condition (offset < 0 || len < offset).
This caused messed up contents of the bottom window after a resize.
gui.c