Aric Stewart aric@codeweavers.com wrote:
--- a/dlls/kernel32/path.c +++ b/dlls/kernel32/path.c @@ -271,7 +271,8 @@ DWORD WINAPI GetFullPathNameA( LPCSTR name, DWORD len, LPSTR buffer,
if (*p != '\\') {
while ((p > buffer + 2) && (*p != '\\')) p--;
while ((p > buffer + 2) &&
((*p != '\\') || IsDBCSLeadByte(*(p-1)))) p--;
This probably should depend on whether ansi or oem code page is active.