Mercurial > mplayer.hg
changeset 1696:eca342b2a2f4
commented
author | arpi |
---|---|
date | Sat, 25 Aug 2001 23:00:55 +0000 |
parents | bdd63cf7f00f |
children | 0b881b5e9e7b |
files | Gui/app.c |
diffstat | 1 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/Gui/app.c Sat Aug 25 21:08:09 2001 +0000 +++ b/Gui/app.c Sat Aug 25 23:00:55 2001 +0000 @@ -107,18 +107,18 @@ if ( ( skinMPlayerDir=(char *)calloc( 1,strlen( appMPlayerDir ) + 5 ) ) != NULL ) { strcpy( skinMPlayerDir,appMPlayerDir ); strcat( skinMPlayerDir,"/Skin" ); } - initDebug(NULL); + initDebug(NULL); // write messages to stderr - cfgDefaults(); - cfgRead(); - if ( !strcmp( cfgAppName,"movieplayer" ) ) - { + cfgDefaults(); // set skin to "default" + cfgRead(); // empty function - NOP +// if ( !strcmp( cfgAppName,"movieplayer" ) ) +// { appMPlayer.sub.x=-1; appMPlayer.sub.y=-1; appMPlayer.sub.width=512; appMPlayer.sub.height=256; switch ( skinRead( cfgSkin ) ) { case -1: dbprintf( 0,"[app] skin configfile not found.\n" ); exit( 0 ); case -2: dbprintf( 0,"[app] skin configfile read error.\n" ); exit( 0 ); } - mplInit( argc,argv,envp ); - } + mplInit( argc,argv,envp ); // does gtk & ws initialization, create windows +// } }