summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source/UI/Window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/UI/Window.cpp b/source/UI/Window.cpp
index ad9ce67c7..2f9dcb7a9 100644
--- a/source/UI/Window.cpp
+++ b/source/UI/Window.cpp
@@ -100,7 +100,7 @@ void cWindow::Clicked(
return;
}
- if (a_SlotNum == -999) // Outside window click
+ if (a_SlotNum < 0) // Outside window click
{
if (a_IsRightClick)
{