fix assert in DeleteRecursive

This commit is contained in:
Chris Danford
2005-08-05 10:01:45 +00:00
parent 10711f0c83
commit c885a38d9f
+1 -1
View File
@@ -884,7 +884,7 @@ bool DeleteRecursive( const CString &sDir )
FOREACH_CONST( CString, vsFiles, s ) FOREACH_CONST( CString, vsFiles, s )
{ {
if( IsADirectory(*s) ) if( IsADirectory(*s) )
DeleteRecursive( *s ); DeleteRecursive( *s+"/" );
else else
FILEMAN->Remove( *s ); FILEMAN->Remove( *s );
} }