summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugingui/widget.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugingui/widget.cc b/plugingui/widget.cc
index 05966aa..b3e3cc8 100644
--- a/plugingui/widget.cc
+++ b/plugingui/widget.cc
@@ -134,7 +134,7 @@ GUI::Widget *GUI::Widget::find(size_t x, size_t y)
i++;
}
- if(x > width() || x < 0 || y > height() || y < 0) return NULL;
+ if(x > width() /*|| x < 0*/ || y > height() /*|| y < 0*/) return NULL;
return this;
}