diff options
author | Matt Turner <mattst88@gmail.com> | 2011-08-02 00:00:02 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2011-08-02 00:00:02 -0400 |
commit | d78a0a651839f94027f5d28b1cb8877034a92fd1 (patch) | |
tree | 80e6f90ebd03f3fb607f498332103b44b40a634c /src | |
parent | fa6f24598388ccddfd4b20390dd3158fa8c2f8a6 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |