From ccb061144a19636333d7266f6c41896609368f43 Mon Sep 17 00:00:00 2001 From: Bill Kendrick Date: Wed, 20 Oct 2021 22:49:49 -0700 Subject: [PATCH] Remove redundant cur_tool == TOOL_FILL test h/t dcb ("dcb314" on SourceForge) Closes https://sourceforge.net/p/tuxpaint/bugs/237/ --- src/tuxpaint.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/tuxpaint.c b/src/tuxpaint.c index 92b4dd300..e71f83cd6 100644 --- a/src/tuxpaint.c +++ b/src/tuxpaint.c @@ -22,7 +22,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA (See COPYING.txt) - June 14, 2002 - October 18, 2021 + June 14, 2002 - October 20, 2021 */ #include "platform.h" @@ -3323,15 +3323,6 @@ static void mainloop(void) draw_erasers(); draw_colors(COLORSEL_DISABLE); } - else if (cur_tool == TOOL_FILL) - { - keybd_flag = 0; - cur_thing = cur_fill; - num_things = NUM_FILLS; - thing_scroll = &fill_scroll; - draw_fills(); - draw_colors(COLORSEL_DISABLE); - } else if (cur_tool == TOOL_UNDO) { if (cur_undo == newest_undo)