From f36f180a7fc264116e0612d0c563fd6f00ac719a Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Sun, 9 Nov 2014 08:12:34 +0100 Subject: [PATCH] Fixed refresh of image area, it was not completely refreshed This happend, when the image area was higher than wide (portrait). --- gui/image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/image.c b/gui/image.c index 06e40c5..a8f18ce 100644 --- a/gui/image.c +++ b/gui/image.c @@ -185,7 +185,7 @@ void draw_image(int x, int y, int w, int h) if (w < 0) w = window_width; if (h < 0) - h = window_width; + h = window_height; guchar *data; unsigned char compose[w*3]; -- 2.13.6