From 94b45fce79d371a80243b923c76e65d8606e737b Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 28 Jun 2015 08:33:02 +0200 Subject: Fix warning. --- plugingui/widget.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3