summaryrefslogtreecommitdiffstats
path: root/gui/mplayer/sw.c
diff options
context:
space:
mode:
Diffstat (limited to 'gui/mplayer/sw.c')
-rw-r--r--gui/mplayer/sw.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/mplayer/sw.c b/gui/mplayer/sw.c
index 349847b5b8..652fbaf761 100644
--- a/gui/mplayer/sw.c
+++ b/gui/mplayer/sw.c
@@ -24,6 +24,7 @@
#include "config.h"
#include "libvo/x11_common.h"
#include "help_mp.h"
+#include "mp_core.h"
#include "gmplayer.h"
#include "gui/app.h"
@@ -39,7 +40,7 @@ extern int i,pot;
void mplSubDraw( void )
{
- if ( appMPlayer.subWindow.State == wsWindowClosed ) exit_player( MSGTR_Exit_quit );
+ if ( appMPlayer.subWindow.State == wsWindowClosed ) exit_player( EXIT_QUIT );
if ( appMPlayer.subWindow.State == wsWindowFocusIn ) SubVisible++;
if ( appMPlayer.subWindow.State == wsWindowFocusOut && metacity_hack != 3 ) SubVisible--;