]> git.sesse.net Git - vlc/commitdiff
cosmetic
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Sun, 8 Feb 2009 08:58:27 +0000 (10:58 +0200)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Sun, 8 Feb 2009 08:58:27 +0000 (10:58 +0200)
modules/video_output/xcb/xcb.c

index 19a9bf0f7eb94ccab28f4037e4cb9ef29249a0e9..828f53018b03ed247b21ba7fad9049e987a7e47c 100644 (file)
@@ -148,13 +148,13 @@ static int Open (vlc_object_t *obj)
     if ((vt = xcb_aux_find_visual_by_attrs (scr, XCB_VISUAL_CLASS_TRUE_COLOR,
                                             scr->root_depth)) != NULL)
         msg_Dbg (vout, "using TrueColor visual ID %d", (int)vt->visual_id);
-#if 0
     else
+#if 0
     if ((vt = xcb_aux_find_visual_by_attrs (scr, XCB_VISUAL_CLASS_STATIC_COLOR,
                                             scr->root_depth)) != NULL)
         msg_Dbg (vout, "using static color visual ID %d", (int)vt->visual_id);
-#endif
     else
+#endif
     if ((scr->root_depth == 8)
      && (vt = xcb_aux_find_visual_by_attrs (scr, XCB_VISUAL_CLASS_STATIC_GRAY,
                                             scr->root_depth)) != NULL)