summaryrefslogtreecommitdiff
path: root/src/Form.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Form.c')
-rw-r--r--src/Form.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Form.c b/src/Form.c
index a227788..e5683cf 100644
--- a/src/Form.c
+++ b/src/Form.c
@@ -778,7 +778,7 @@ static XtGeometryResult PreferredGeometry( widget, request, reply )
reply->width = w->form.preferred_width;
reply->height = w->form.preferred_height;
reply->request_mode = CWWidth | CWHeight;
- if ( request->request_mode & (CWWidth | CWHeight) ==
+ if ( (request->request_mode & (CWWidth | CWHeight)) ==
(CWWidth | CWHeight)
&& request->width == reply->width
&& request->height == reply->height)