Mercurial > mplayer.hg
diff libvo/x11_common.c @ 25448:3c9a46550d16
Move more variables into the block where they are used
author | reimar |
---|---|
date | Thu, 20 Dec 2007 12:57:36 +0000 |
parents | 139197373d1b |
children | 9ee347c404c9 |
line wrap: on
line diff
--- a/libvo/x11_common.c Thu Dec 20 12:51:24 2007 +0000 +++ b/libvo/x11_common.c Thu Dec 20 12:57:36 2007 +0000 @@ -1767,9 +1767,6 @@ void saver_off(Display * mDisplay) { - - int interval, prefer_blank, allow_exp; - #ifdef HAVE_XDPMS int nothing; @@ -1792,6 +1789,7 @@ #endif if (!timeout_save) { + int interval, prefer_blank, allow_exp; XGetScreenSaver(mDisplay, &timeout_save, &interval, &prefer_blank, &allow_exp); if (timeout_save)