Module: wine Branch: master Commit: 92ceff203b419c0eb5693b1815fbefeab3ee5f83 URL: http://source.winehq.org/git/wine.git/?a=commit;h=92ceff203b419c0eb5693b1815...
Author: Alexandre Julliard julliard@winehq.org Date: Mon Jun 25 14:01:59 2007 +0200
shell32: Get rid of CharNextW.
---
dlls/shell32/shlfileop.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/dlls/shell32/shlfileop.c b/dlls/shell32/shlfileop.c index 5410c97..f541b60 100644 --- a/dlls/shell32/shlfileop.c +++ b/dlls/shell32/shlfileop.c @@ -748,9 +748,7 @@ int WINAPI SHCreateDirectoryExW(HWND hWnd, LPCWSTR path, LPSECURITY_ATTRIBUTES s
while (*pSlash) { - while (*pSlash && *pSlash != '\') - pSlash = CharNextW(pSlash); - + while (*pSlash && *pSlash != '\') pSlash++; if (*pSlash) { *pSlash = 0; /* terminate path at separator */