fixed UNICODE RecursiveCreateDirectory()

svn path=/trunk/; revision=7702
This commit is contained in:
Martin Fuchs 2004-01-17 00:42:57 +00:00
parent f3077c25b9
commit b5fec56137

View file

@ -300,7 +300,7 @@ BOOL RecursiveCreateDirectory(LPCTSTR path_in)
path[i++] = *p++;
for(; i<l; i++) {
memcpy(path, hole_path, i);
memcpy(path, hole_path, i*sizeof(TCHAR));
for(; hole_path[i] && hole_path[i]!='/' && hole_path[i]!='\\'; i++)
path[i] = hole_path[i];