Commit 072318b1 authored by Victor Stinner's avatar Victor Stinner

Issue #13772: Use syntax for literal wchar_t character

parent 31b3b92f
......@@ -6744,7 +6744,7 @@ _dirnameW(WCHAR *path)
/* walk the path from the end until a backslash is encountered */
for(ptr = path + wcslen(path); ptr != path; ptr--) {
if (*ptr == *L"\\" || *ptr == *L"/")
if (*ptr == L'\\' || *ptr == L'/')
break;
}
*ptr = 0;
......
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