A bugfix!

draw_pixel had an inverted test for clipping and so was always calling the
wrong function.

Will this fix ever see the light of day? Who knows?! :)


SVN revision: 6163
This commit is contained in:
Tom Gilbert 2002-04-22 19:19:01 +00:00
parent 3ad5e83992
commit 900e167c37
1 changed files with 1 additions and 1 deletions

View File

@ -3240,7 +3240,7 @@ imlib_image_draw_pixel(int x, int y, char make_updates)
return NULL;
__imlib_DirtyImage(im);
__imlib_DirtyPixmapsForImage(im);
if (ctx->cliprect.w)
if (ctx->cliprect.w == 0)
{
__imlib_draw_set_point(im, x, y,
(DATA8) ctx->color.red,