Remove redundant cur_tool == TOOL_FILL test
h/t dcb ("dcb314" on SourceForge)
Closes https://sourceforge.net/p/tuxpaint/bugs/237/
This commit is contained in:
parent
930b19ae64
commit
ccb061144a
1 changed files with 1 additions and 10 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue