[Mplayer-cvslog] CVS: main/Gui/skin skin.c,1.20,1.21

Zoltan Ponekker pontscho at mplayerhq.hu
Thu Nov 28 20:01:57 CET 2002


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

Modified Files:
	skin.c 
Log Message:


- add Rüdiger Kuhlmann's <mplayer-list-UGa6JdjLujS2 at ruediger-kuhlmann.de> patch
- fix one 10l bug


Index: skin.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/skin/skin.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- skin.c	25 Nov 2002 17:33:30 -0000	1.20
+++ skin.c	28 Nov 2002 19:01:50 -0000	1.21
@@ -10,6 +10,7 @@
 #include "../../config.h"
 #include "../../mp_msg.h"
 #include "../../help_mp.h"
+#include "../mplayer/widgets.h"
 
 listItems     * skinAppMPlayer = &appMPlayer;
 
@@ -25,11 +26,14 @@
 void ERRORMESSAGE( const char * format, ... )
 {
  char      p[512];
+ char      tmp[512];
  va_list   ap;
  va_start( ap,format );
  vsnprintf( p,512,format,ap );
  va_end( ap );
  mp_msg( MSGT_GPLAYER,MSGL_STATUS,MSGTR_SKIN_ERRORMESSAGE,linenumber,p );
+ snprintf( tmp,512,MSGTR_SKIN_ERRORMESSAGE,linenumber,p );
+ gtkMessageBox( GTK_MB_FATAL,tmp );
 }
 
 #define CHECKDEFLIST( str ) \




More information about the MPlayer-cvslog mailing list