changeset 34461:e3d6a010e8ae

Cosmetic: Remove braces.
author ib
date Thu, 12 Jan 2012 15:53:20 +0000
parents c4731df07bfe
children f305c10d20f8
files gui/wm/ws.c
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/gui/wm/ws.c	Thu Jan 12 15:50:53 2012 +0000
+++ b/gui/wm/ws.c	Thu Jan 12 15:53:20 2012 +0000
@@ -266,18 +266,16 @@
             mp_msg(MSGT_GPLAYER, MSGL_INFO, MSGTR_WS_RemoteDisplay);
     }
 
-    if (!XShmQueryExtension(wsDisplay)) {
+    if (!XShmQueryExtension(wsDisplay))
         wsUseXShm = 0;
-    }
 
     if (!wsUseXShm)
         mp_msg(MSGT_GPLAYER, MSGL_INFO, MSGTR_WS_NoXshm);
 
 #ifdef CONFIG_XSHAPE
 
-    if (!XShapeQueryExtension(wsDisplay, &eventbase, &errorbase)) {
+    if (!XShapeQueryExtension(wsDisplay, &eventbase, &errorbase))
         wsUseXShape = 0;
-    }
 
 #else
     wsUseXShape = 0;