From 95d68a9d2f2b85634d3d3ab38f8e56e21ff3ae77 Mon Sep 17 00:00:00 2001 From: sam Date: Tue, 4 Jan 2005 00:31:15 +0000 Subject: [PATCH] * src/slashdot.c: fixed stupid bug... git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/pwntcha/trunk@395 92316355-f0b4-4df1-b90c-862c8a59935f --- src/slashdot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/slashdot.c b/src/slashdot.c index 6f83dbf..518a705 100644 --- a/src/slashdot.c +++ b/src/slashdot.c @@ -101,10 +101,10 @@ static struct image *count_objects(struct image *img) for(x = 0; x < dst->width; x++) { getpixel(dst, x, y, &r, &g, &b); - if(r == 50 && g == 50 && b == 50) + if(r == 0 && g == 0 && b == 0) { gotblack = 1; - filter_flood_fill(dst, x, y, 255 - objects, 0, 0); + filter_flood_fill(dst, x, y, 254 - objects, 0, 0); objects++; } }