Fixed a bug in JM_DRAW handler of colorviewer_msg_proc() function. It was introduced in a recent commit.

This commit is contained in:
David Capello 2010-04-01 00:08:59 -03:00
parent 571a735f3a
commit 6383d36f25

View File

@ -130,7 +130,7 @@ static bool colorviewer_msg_proc(JWidget widget, JMessage msg)
/* draw color background */
jrect_shrink(rect, 1);
draw_color(ji_screen, Rect(rect->x1, rect->y1, jrect_w(rect->x2), jrect_h(rect->y2)),
draw_color(ji_screen, Rect(rect->x1, rect->y1, jrect_w(rect), jrect_h(rect)),
colorviewer->imgtype,
colorviewer->color);