summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2011-08-02 00:00:02 -0400
committerMatt Turner <mattst88@gmail.com>2011-08-02 00:00:02 -0400
commitd78a0a651839f94027f5d28b1cb8877034a92fd1 (patch)
tree80e6f90ebd03f3fb607f498332103b44b40a634c /src
parentfa6f24598388ccddfd4b20390dd3158fa8c2f8a6 (diff)
Add missing parentheses.
& has lower precedence than ==. Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src')
-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)