input/meta.c: ArtCacheCreateDir fix, third attempt.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Wed, 22 Aug 2007 15:59:00 +0000 (15:59 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Wed, 22 Aug 2007 15:59:00 +0000 (15:59 +0000)
src/input/meta.c

index f10d33b..4bab883 100644 (file)
@@ -238,7 +238,8 @@ static void ArtCacheCreateDir( const char *psz_dir )
         if( !*psz ) break;
         *psz = 0;        
         if( !EMPTY_STR( psz_newdir ) ) utf8_mkdir( psz_newdir );
-        *psz = DIR_SEP;        
+        *psz = DIR_SEP;
+        psz++;   
     }
 }