From 900e167c37449659e78d7b603eea784319af34c9 Mon Sep 17 00:00:00 2001 From: Tom Gilbert Date: Mon, 22 Apr 2002 19:19:01 +0000 Subject: [PATCH] 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 --- src/api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api.c b/src/api.c index a48edae..56c838f 100644 --- a/src/api.c +++ b/src/api.c @@ -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,