aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin/gimage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gwin/gimage.c')
-rw-r--r--src/gwin/gimage.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gwin/gimage.c b/src/gwin/gimage.c
index 35ca1c6d..8eed3ac7 100644
--- a/src/gwin/gimage.c
+++ b/src/gwin/gimage.c
@@ -41,6 +41,8 @@ static void _redraw(GHandle gh) {
#endif
// The default display area
+ dx = 0;
+ dy = 0;
x = gh->x;
y = gh->y;
w = gh->width;