[Mplayer-cvslog] CVS: main/Gui app.c,1.8,1.9

Zoltan Ponekker pontscho at mplayer.dev.hu
Tue Dec 18 21:01:12 CET 2001


Update of /cvsroot/mplayer/main/Gui
In directory mplayer:/var/tmp.root/cvs-serv5965/Gui

Modified Files:
	app.c 
Log Message:
itt a skin nem van hibauzenet igy.

Index: app.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/app.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- app.c	7 Sep 2001 21:04:14 -0000	1.8
+++ app.c	18 Dec 2001 20:01:09 -0000	1.9
@@ -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 @@
  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
 }




More information about the MPlayer-cvslog mailing list