X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ftoolwindow.cpp;h=5fd774c1498430542df30b7ec84403e2afaf2041;hb=faaae13292af283e277b0d1480aad54a6e4a2dd6;hp=1cc41e3a8882a17bdf963b5276faaace36b9f6c4;hpb=360d040a4727383cc8e78d0b8a3c8151c27d26fc;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;