diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2010-10-28 21:47:01 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2010-10-28 21:47:01 +0000 |
| commit | 8f79d200a0c20c1840f8f8fa9862c4f84ce72135 (patch) | |
| tree | 7695dc20692a91694f00424da1c5a8caad792e2d /test/navigation.cxx | |
| parent | 1b6dae10bff9e86977f7293e14d48fb8b619a1c9 (diff) | |
Fixed the remaining warnings
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7767 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/navigation.cxx')
| -rw-r--r-- | test/navigation.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/navigation.cxx b/test/navigation.cxx index eb0959575..c1ac72091 100644 --- a/test/navigation.cxx +++ b/test/navigation.cxx @@ -57,8 +57,7 @@ int main(int argc, char **argv) { Fl_Widget *o = window.child(n); if (x<o->x()+o->w() && x+w>o->x() && y<o->y()+o->h() && y+h>o->y()) break; - if ( (!j && (y < o->y()) - || (y == o->y() && x < o->x())) ) j = o; + if ( !j && ( y<o->y() || (y==o->y() && x<o->x()) ) ) j = o; } // skip if intersection: if (n < window.children()) continue; |
