From e08837815a8bd401f685b2b9f72d2ef115fba1ff Mon Sep 17 00:00:00 2001 From: William Kendrick Date: Sun, 12 Feb 2006 23:08:07 +0000 Subject: [PATCH] Logic was off by one! --- src/tuxpaint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tuxpaint.c b/src/tuxpaint.c index ae7dc4dfc..fafb7c78b 100644 --- a/src/tuxpaint.c +++ b/src/tuxpaint.c @@ -3893,7 +3893,7 @@ static void mainloop(void) /* Color! */ which = GRIDHIT_GD(r_colors,gd_colors); - if (which > 0 && which < NUM_COLORS) + if (which >= 0 && which < NUM_COLORS) { cur_color = which; playsound(1, SND_BUBBLE, 1);