Mercurial > mplayer.hg
diff Gui/app.c @ 3586:a0009a534428
itt a skin nem van hibauzenet igy.
author | pontscho |
---|---|
date | Tue, 18 Dec 2001 20:01:10 +0000 |
parents | 32b1bb50a0e8 |
children | 3473ca9ef158 |
line wrap: on
line diff
--- a/Gui/app.c Tue Dec 18 18:45:00 2001 +0000 +++ b/Gui/app.c Tue Dec 18 20:01:10 2001 +0000 @@ -3,8 +3,11 @@ #include <stdio.h> #include <string.h> +#include "../config.h" +#include "../mp_msg.h" +#include "../help_mp.h" + #include "app.h" -#include "../config.h" #include "error.h" #include "wm/wskeys.h" #include "skin/skin.h" @@ -109,8 +112,8 @@ 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 }