diff options
author | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-12-18 20:01:10 +0000 |
---|---|---|
committer | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-12-18 20:01:10 +0000 |
commit | 4d3b8c99b11fdbee1d77ab483908393ef2c295e5 (patch) | |
tree | c91d9a3ad607397a5ef311ef3aa10b2eb1adcaa5 /Gui/app.c | |
parent | 2f6396e310ee1f03df1563a3ee760654a4673607 (diff) | |
download | mpv-4d3b8c99b11fdbee1d77ab483908393ef2c295e5.tar.bz2 mpv-4d3b8c99b11fdbee1d77ab483908393ef2c295e5.tar.xz |
itt a skin nem van hibauzenet igy.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3587 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/app.c')
-rw-r--r-- | Gui/app.c | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -3,8 +3,11 @@ #include <stdio.h> #include <string.h> -#include "app.h" #include "../config.h" +#include "../mp_msg.h" +#include "../help_mp.h" + +#include "app.h" #include "error.h" #include "wm/wskeys.h" #include "skin/skin.h" @@ -109,8 +112,8 @@ void appInit( int argc,char* argv[], char *envp[], void* disp ) initDebug(NULL); // write messages to stderr switch ( skinRead( skinName ) ) { - case -1: dbprintf( 0,"[app] skin configfile not found.\n" ); exit( 0 ); - case -2: dbprintf( 0,"[app] skin configfile read error.\n" ); exit( 0 ); + case -1: mp_msg( MSGT_GPLAYER,MSGL_ERR,MSGTR_SKIN_SKINCFG_SkinNotFound,skinName ); exit( 0 ); + case -2: mp_msg( MSGT_GPLAYER,MSGL_ERR,MSGTR_SKIN_SKINCFG_SkinCfgReadError,skinName ); exit( 0 ); } mplInit( argc,argv,envp,disp ); // does gtk & ws initialization, create windows } |