[MPlayer-cvslog] r31103 - trunk/libvo/x11_common.c
    reimar 
    subversion at mplayerhq.hu
       
    Tue Apr 27 21:04:23 CEST 2010
    
    
  
Author: reimar
Date: Tue Apr 27 21:04:23 2010
New Revision: 31103
Log:
Move variable declaration into the block where it is actually used.
Modified:
   trunk/libvo/x11_common.c
Modified: trunk/libvo/x11_common.c
==============================================================================
--- trunk/libvo/x11_common.c	Tue Apr 27 19:50:50 2010	(r31102)
+++ trunk/libvo/x11_common.c	Tue Apr 27 21:04:23 2010	(r31103)
@@ -368,9 +368,9 @@ static void init_atoms(void)
 void update_xinerama_info(void) {
     xinerama_x = xinerama_y = 0;
 #ifdef CONFIG_XINERAMA
-    int screen = xinerama_screen;
-    if (screen >= -1 && XineramaIsActive(mDisplay))
+    if (xinerama_screen >= -1 && XineramaIsActive(mDisplay))
     {
+        int screen = xinerama_screen;
         XineramaScreenInfo *screens;
         int num_screens;
 
    
    
More information about the MPlayer-cvslog
mailing list