summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-20 12:51:24 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-20 12:51:24 +0000
commita3816c913b518677721b1c22fd585ac3f05eda22 (patch)
tree26a60f912b3907dd3823fa053cf84d00e979eee6 /libvo
parent54cffe9bee9f16b239edee855e7fdd2770a98d94 (diff)
downloadmpv-a3816c913b518677721b1c22fd585ac3f05eda22.tar.bz2
mpv-a3816c913b518677721b1c22fd585ac3f05eda22.tar.xz
Move a variable to where it is used
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25475 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/x11_common.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c
index 7f22a0c59d..932ba4313a 100644
--- a/libvo/x11_common.c
+++ b/libvo/x11_common.c
@@ -1710,10 +1710,9 @@ void saver_on(Display * mDisplay)
{
#ifdef HAVE_XDPMS
- int nothing;
-
if (dpms_disabled)
{
+ int nothing;
if (DPMSQueryExtension(mDisplay, &nothing, &nothing))
{
if (!DPMSEnable(mDisplay))