[MPlayer-cvslog] r25476 - trunk/libvo/x11_common.c

reimar subversion at mplayerhq.hu
Thu Dec 20 13:57:36 CET 2007


Author: reimar
Date: Thu Dec 20 13:57:36 2007
New Revision: 25476

Log:
Move more variables into the block where they are used


Modified:
   trunk/libvo/x11_common.c

Modified: trunk/libvo/x11_common.c
==============================================================================
--- trunk/libvo/x11_common.c	(original)
+++ trunk/libvo/x11_common.c	Thu Dec 20 13:57:36 2007
@@ -1767,9 +1767,6 @@ void saver_on(Display * mDisplay)
 
 void saver_off(Display * mDisplay)
 {
-
-    int interval, prefer_blank, allow_exp;
-
 #ifdef HAVE_XDPMS
     int nothing;
 
@@ -1792,6 +1789,7 @@ void saver_off(Display * mDisplay)
 #endif
     if (!timeout_save)
     {
+        int interval, prefer_blank, allow_exp;
         XGetScreenSaver(mDisplay, &timeout_save, &interval, &prefer_blank,
                         &allow_exp);
         if (timeout_save)



More information about the MPlayer-cvslog mailing list