From 0eb4d06cdcc4953146ea26798267cd0a3bc7e3c0 Mon Sep 17 00:00:00 2001 From: sam Date: Wed, 12 Jan 2005 03:41:38 +0000 Subject: [PATCH] * set threshold to 250, not 240. git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/pwntcha/trunk@455 92316355-f0b4-4df1-b90c-862c8a59935f --- src/font.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/font.c b/src/font.c index 6cc5f5f..3d752ea 100644 --- a/src/font.c +++ b/src/font.c @@ -78,7 +78,7 @@ struct font *font_load_variable(char *file, char *chars) for(y = 0; y < font->img->height; y++) { getpixel(font->img, x, y, &r, &g, &b); - if(r < 240) + if(r < 250) { found = 1; count += (255 - r); @@ -106,7 +106,7 @@ struct font *font_load_variable(char *file, char *chars) for(newx = xmin; newx < xmax; newx++) { getpixel(font->img, newx, y, &r, &g, &b); - if(r < 240) + if(r < 250) { gotit = 1; break;