svn path=/trunk/; revision=29053
This commit is contained in:
Hervé Poussineau
2007-09-15 09:03:01 +00:00
parent f5101f1e6a
commit fd7b9ad55e
+2 -3
View File
@@ -167,13 +167,12 @@ Directory::GenerateTree ( const string& parent,
if ( parent.size () > 0 )
{
char buf[256];
if ( name.size () > 0 )
path = parent + sSep + name;
else
path = parent;
if ( CreateDirectory ( buf ) && verbose )
printf ( "Created %s\n", buf );
if ( CreateDirectory ( path ) && verbose )
printf ( "Created %s\n", path.c_str () );
}
else
path = name;