[MPlayer-cvslog] CVS: main/Gui/skin skin.c,1.25,1.26

Diego Biurrun CVS syncmail at mplayerhq.hu
Wed Dec 15 02:22:26 CET 2004


CVS change done by Diego Biurrun CVS

Update of /cvsroot/mplayer/main/Gui/skin
In directory mail:/var2/tmp/cvs-serv31292/Gui/skin

Modified Files:
	skin.c 
Log Message:
printf --> mp_msg conversion, less verbosity


Index: skin.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/skin/skin.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- skin.c	25 Jun 2004 16:49:52 -0000	1.25
+++ skin.c	15 Dec 2004 01:22:24 -0000	1.26
@@ -121,7 +121,7 @@
   else if ( !strncmp( in,"sub",3 ) ) currSection=&skinAppMPlayer->sub;
    else if ( !strncmp( in,"playbar",7 ) ) { currSection=&skinAppMPlayer->bar; currSubItem=&skinAppMPlayer->NumberOfBarItems; currSubItems=skinAppMPlayer->barItems; }
     else if ( !strncmp( in,"menu",4 ) ) { currSection=&skinAppMPlayer->menuBase; currSubItem=&skinAppMPlayer->NumberOfMenuItems; currSubItems=skinAppMPlayer->MenuItems; }
-     else ERRORMESSAGE( "Unknown window type found ..." );
+     else ERRORMESSAGE( MSGTR_UNKNOWNWINDOWTYPE );
  mp_dbg( MSGT_GPLAYER,MSGL_DBG2,"\n[skin] window: %s\n",window_name );
  return 0;
 }
@@ -676,7 +676,7 @@
    setname( skinMPlayerDir,dname );
    if ( ( skinFile = fopen( fn,"rt" ) ) == NULL )
     {
-     mp_msg( MSGT_GPLAYER,MSGL_STATUS,"[skin] file ( %s ) not found.\n",fn );
+     mp_msg( MSGT_GPLAYER,MSGL_STATUS,MSGTR_SKIN_SkinFileNotFound,fn );
      return -1;
     }
   }




More information about the MPlayer-cvslog mailing list