Issue #13772: Use syntax for literal wchar_t character

This commit is contained in:
Victor Stinner 2013-06-05 02:07:46 +02:00
parent 31b3b92f7a
commit 072318b178
1 changed files with 1 additions and 1 deletions

View File

@ -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;