diff options
author | Sven Gothel <[email protected]> | 2015-03-06 10:02:03 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2015-03-06 10:02:03 +0100 |
commit | 27ebb38b9ffd3cc8f4ee3b97509b0f32ef2680aa (patch) | |
tree | 5a50541643e21ae1a3d49d65c405cdefa4b64569 /src/newt/native/X11Window.c | |
parent | eced1d4e45772a862d649e3cd7b500c6bc1643a1 (diff) |
Bug 1135 - Cleanup: Fix native code Warning
Diffstat (limited to 'src/newt/native/X11Window.c')
-rw-r--r-- | src/newt/native/X11Window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newt/native/X11Window.c b/src/newt/native/X11Window.c index 2cc66c78d..43506c6a6 100644 --- a/src/newt/native/X11Window.c +++ b/src/newt/native/X11Window.c @@ -489,7 +489,7 @@ static Bool WaitForUnmapNotify( Display *dpy, XEvent *event, XPointer arg ) { } static void NewtWindows_setPosSize(Display *dpy, Window w, jint x, jint y, jint width, jint height) { - if(width>0 && height>0 || x>=0 && y>=0) { // resize/position if requested + if( ( width>0 && height>0 ) || ( x>=0 && y>=0 ) ) { // resize/position if requested XWindowChanges xwc; int flags = CWX | CWY; |