[MPlayer-cvslog] r34549 - trunk/gui/wm/ws.c

ib subversion at mplayerhq.hu
Thu Jan 12 16:53:20 CET 2012


Author: ib
Date: Thu Jan 12 16:53:20 2012
New Revision: 34549

Log:
Cosmetic: Remove braces.

Modified:
   trunk/gui/wm/ws.c

Modified: trunk/gui/wm/ws.c
==============================================================================
--- trunk/gui/wm/ws.c	Thu Jan 12 16:50:53 2012	(r34548)
+++ trunk/gui/wm/ws.c	Thu Jan 12 16:53:20 2012	(r34549)
@@ -266,18 +266,16 @@ void wsXInit(Display *mDisplay)
             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;


More information about the MPlayer-cvslog mailing list