Fix mis-paint on resize. - sam - An updated version of the sam text editor.
(HTM) git clone git://vernunftzentrum.de/sam.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit b993be51443c47aa82150de02e40a96efa488acb
(DIR) parent f58ed464b4275da4ca001095dc7e46b6e6c3558a
(HTM) Author: Rob King <jking@deadpixi.com>
Date: Mon, 15 Aug 2016 00:50:08 -0500
Fix mis-paint on resize.
Diffstat:
samterm/flayer.c | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/samterm/flayer.c b/samterm/flayer.c
@@ -319,6 +319,8 @@ flreshape(Rectangle dr)
olDrect = lDrect;
lDrect = dr;
move = 0;
+ bitblt2(&screen, lDrect.min, &screen, lDrect, 0, 0, _bgpixel);
+
for(i=0; i<nllist; i++){
l = llist[i];
f = &l->f;