mirror of https://github.com/mpv-player/mpv
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:
parent
ee43ac9e6f
commit
1e356eac98
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue