ChangeSet ID: 21419 CVSROOT: /opt/cvs-commit Module name: wine Changes by: julliard@winehq.org 2005/11/23 08:26:06
Modified files: dlls/shell32 : shfldr_unixfs.c
Log message: Michael Jung mjung@iss.tu-darmstadt.de Use the ANSI codepage in IShellFolder::GetDisplayNameOf.
Patch: http://cvs.winehq.org/patch.py?id=21419
Old revision New revision Changes Path 1.60 1.61 +1 -1 wine/dlls/shell32/shfldr_unixfs.c
Index: wine/dlls/shell32/shfldr_unixfs.c diff -u -p wine/dlls/shell32/shfldr_unixfs.c:1.60 wine/dlls/shell32/shfldr_unixfs.c:1.61 --- wine/dlls/shell32/shfldr_unixfs.c:1.60 23 Nov 2005 14:26: 6 -0000 +++ wine/dlls/shell32/shfldr_unixfs.c 23 Nov 2005 14:26: 6 -0000 @@ -1003,7 +1003,7 @@ static HRESULT WINAPI UnixFolder_IShellF if (!pwszDosPath) return HRESULT_FROM_WIN32(GetLastError()); PathRemoveBackslashW(pwszDosPath); - WideCharToMultiByte(CP_UNIXCP, 0, pwszDosPath, -1, lpName->u.cStr, MAX_PATH, NULL, NULL); + WideCharToMultiByte(CP_ACP, 0, pwszDosPath, -1, lpName->u.cStr, MAX_PATH, NULL, NULL); HeapFree(GetProcessHeap(), 0, pwszDosPath); } } else {