summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-04-27 19:04:23 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-04-27 19:04:23 +0000
commit46f3b7d26327254bc471987d257bf62ad6f1eeca (patch)
tree98c08ff318428989357898cc196856ac6bed9b15 /libvo
parenteca4b8737651c0a70a0ee2988fe1eeecf34dda16 (diff)
downloadmpv-46f3b7d26327254bc471987d257bf62ad6f1eeca.tar.bz2
mpv-46f3b7d26327254bc471987d257bf62ad6f1eeca.tar.xz
Move variable declaration into the block where it is actually used.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31103 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/x11_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c
index 6a0ad3776e..57ff565b2d 100644
--- a/libvo/x11_common.c
+++ b/libvo/x11_common.c
@@ -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;