X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Ftoolwindow.cpp;h=5fd774c1498430542df30b7ec84403e2afaf2041;hb=2b16243b0aa693d18ce49a071cdae73cadc37c4f;hp=1cc41e3a8882a17bdf963b5276faaace36b9f6c4;hpb=3e731f52cfd35364e9516d09d00b61dd6fdc1919;p=ttedit diff --git a/src/toolwindow.cpp b/src/toolwindow.cpp index 1cc41e3..5fd774c 100755 --- a/src/toolwindow.cpp +++ b/src/toolwindow.cpp @@ -82,7 +82,7 @@ ToolType ToolWindow::FindSelectedTool(void) newTool = (ToolType)((y * 4) + x); // We don't have 11 yet, so fix this if the user selected the blank space - if (newTool > 9) + if (newTool > 10) newTool = TOOLNone; return newTool;