X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=colorize.git;a=blobdiff_plain;f=gui%2Fimage.c;h=a8f18ceb4d30357a5b8b37da8fa707f2d366f6f5;hp=06e40c5024fa0f6229835ed103a89e191ddd8042;hb=f36f180a7fc264116e0612d0c563fd6f00ac719a;hpb=0039b374832ce87379fd16a9a94c4781c632bba9 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];