Move a variable to where it is used

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25475 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2007-12-20 12:51:24 +00:00
parent 54cffe9bee
commit a3816c913b
1 changed files with 1 additions and 2 deletions

View File

@ -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))