diff options
Diffstat (limited to 'gui/mplayer/mw.c')
-rw-r--r-- | gui/mplayer/mw.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gui/mplayer/mw.c b/gui/mplayer/mw.c index 4e64af3a51..1445afe379 100644 --- a/gui/mplayer/mw.c +++ b/gui/mplayer/mw.c @@ -47,6 +47,7 @@ #include "codec-cfg.h" #include "m_option.h" #include "m_property.h" +#include "mp_core.h" #define GUI_REDRAW_WAIT 375 @@ -72,7 +73,7 @@ int i,pot = 0; void mplMainDraw( void ) { - if ( appMPlayer.mainWindow.State == wsWindowClosed ) exit_player( MSGTR_Exit_quit ); + if ( appMPlayer.mainWindow.State == wsWindowClosed ) exit_player( EXIT_QUIT ); if ( appMPlayer.mainWindow.Visible == wsWindowNotVisible || !mainVisible ) return; @@ -102,7 +103,7 @@ void mplEventHandling( int msg,float param ) { // --- user events case evExit: - exit_player( "Exit" ); + exit_player( EXIT_QUIT ); break; case evPlayNetwork: |