summaryrefslogtreecommitdiff
path: root/plugingui/widget.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2015-06-28 08:33:02 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2015-06-28 08:33:02 +0200
commit94b45fce79d371a80243b923c76e65d8606e737b (patch)
treef8809bd96b30530f665520d3bb6c5b0b525accdc /plugingui/widget.cc
parent2928c4624bd0b970881dc6bcfda6892353eb63e7 (diff)
Fix warning.
Diffstat (limited to 'plugingui/widget.cc')
-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;
}