mirror of
https://github.com/reactos/reactos.git
synced 2024-09-09 20:30:04 +00:00
fixed UNICODE RecursiveCreateDirectory()
svn path=/trunk/; revision=7702
This commit is contained in:
parent
f3077c25b9
commit
b5fec56137
|
@ -300,7 +300,7 @@ BOOL RecursiveCreateDirectory(LPCTSTR path_in)
|
||||||
path[i++] = *p++;
|
path[i++] = *p++;
|
||||||
|
|
||||||
for(; i<l; i++) {
|
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++)
|
for(; hole_path[i] && hole_path[i]!='/' && hole_path[i]!='\\'; i++)
|
||||||
path[i] = hole_path[i];
|
path[i] = hole_path[i];
|
||||||
|
|
Loading…
Reference in a new issue