changeset 32065:319ae9dc51a2

Move sx/sy extern variable declaration to gmplayer.h, which is better suited.
author diego
date Sat, 11 Sep 2010 12:10:43 +0000
parents a735105a66b6
children 8d92770a9c7b
files gui/mplayer/gmplayer.h gui/mplayer/sw.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gui/mplayer/gmplayer.h	Sat Sep 11 11:47:07 2010 +0000
+++ b/gui/mplayer/gmplayer.h	Sat Sep 11 12:10:43 2010 +0000
@@ -30,6 +30,8 @@
 extern int             mplMiddleMenu;
 extern int             mplPBFade;
 
+extern int             sx, sy;
+
 void mplInit( void * disp );
 
 void mplMainDraw( void );
--- a/gui/mplayer/sw.c	Sat Sep 11 11:47:07 2010 +0000
+++ b/gui/mplayer/sw.c	Sat Sep 11 12:10:43 2010 +0000
@@ -34,8 +34,6 @@
 int             mplSubRender = 0;
 int             SubVisible = 0;
 
-extern int             sx,sy;
-
 void mplSubDraw( void )
 {
  if ( appMPlayer.subWindow.State == wsWindowClosed ) exit_player( EXIT_QUIT );