mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
fixed UNICODE RecursiveCreateDirectory()
svn path=/trunk/; revision=7702
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user