Make sure we do not print the obsolete skin path when we did not find any skin.

Closes bug #550


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19356 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2006-08-07 17:46:20 +00:00
parent ee43ac9e6f
commit 1e356eac98
1 changed files with 1 additions and 0 deletions

View File

@ -682,6 +682,7 @@ int skinRead( char * dname )
setname( skinMPlayerDir_obsolete,dname );
if ( ( skinFile = fopen( fn,"rt" ) ) == NULL )
{
setname( skinMPlayerDir,dname );
mp_msg( MSGT_GPLAYER,MSGL_STATUS,MSGTR_SKIN_SkinFileNotFound,fn );
return -1;
}