Commit 92ceff20 authored by Alexandre Julliard's avatar Alexandre Julliard

shell32: Get rid of CharNextW.

parent ae0c24fd
...@@ -748,9 +748,7 @@ int WINAPI SHCreateDirectoryExW(HWND hWnd, LPCWSTR path, LPSECURITY_ATTRIBUTES s ...@@ -748,9 +748,7 @@ int WINAPI SHCreateDirectoryExW(HWND hWnd, LPCWSTR path, LPSECURITY_ATTRIBUTES s
while (*pSlash) while (*pSlash)
{ {
while (*pSlash && *pSlash != '\\') while (*pSlash && *pSlash != '\\') pSlash++;
pSlash = CharNextW(pSlash);
if (*pSlash) if (*pSlash)
{ {
*pSlash = 0; /* terminate path at separator */ *pSlash = 0; /* terminate path at separator */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment