From 619ad666fc3091a2ec022cbe4d829123ee94398b Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 17 Jan 2003 02:53:06 +0000 Subject: [PATCH] add {}'s --- src/client.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client.cc b/src/client.cc index 603a08bd..f83a8a3d 100644 --- a/src/client.cc +++ b/src/client.cc @@ -99,10 +99,10 @@ void Client::getGravity() long junk; if (XGetWMNormalHints(**otk::display, _window, &size, &junk) && - size.flags & PWinGravity) + size.flags & PWinGravity) { // first try the normal hints _gravity = size.win_gravity; - else { + } else { // then fall back to the attribute ret = XGetWindowAttributes(**otk::display, _window, &wattrib); assert(ret != BadWindow); -- 2.39.2