Commit a44ab654 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

input/meta.c: Fix ArtCacheCreateDir thanks to ILeoo.

parent a7f90221
...@@ -238,6 +238,7 @@ static void ArtCacheCreateDir( const char *psz_dir ) ...@@ -238,6 +238,7 @@ static void ArtCacheCreateDir( const char *psz_dir )
if( !*psz ) break; if( !*psz ) break;
*psz = 0; *psz = 0;
if( !EMPTY_STR( psz_newdir ) ) utf8_mkdir( psz_newdir ); if( !EMPTY_STR( psz_newdir ) ) utf8_mkdir( psz_newdir );
*psz = '/';
psz_newdir = psz+1; psz_newdir = psz+1;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment