changeset 19350:40527c0a1387

Make sure we do not print the obsolete skin path when we did not find any skin. Closes bug #550
author reimar
date Mon, 07 Aug 2006 17:46:20 +0000
parents dd724d088ff1
children 317f91100cb1
files Gui/skin/skin.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Gui/skin/skin.c	Mon Aug 07 13:31:18 2006 +0000
+++ b/Gui/skin/skin.c	Mon Aug 07 17:46:20 2006 +0000
@@ -682,6 +682,7 @@
        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;
         }