From 65f7ce21d582f7d5ac98c4772ea014e552246101 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 15 Oct 2003 21:02:53 +0000 Subject: [PATCH] Fixed cut&paste error. --- dlls/shlwapi/reg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/shlwapi/reg.c b/dlls/shlwapi/reg.c index 75fca1c3da1..97f62dc2f4e 100644 --- a/dlls/shlwapi/reg.c +++ b/dlls/shlwapi/reg.c @@ -1823,7 +1823,7 @@ BOOL WINAPI GetMIMETypeSubKeyW(LPCWSTR lpszType, LPWSTR lpszBuffer, DWORD dwLen) if (dwStrLen < dwLen - dwLenMimeDbContent) { - memcpy(lpszBuffer, szMimeDbContentA, dwLenMimeDbContent * sizeof(WCHAR)); + memcpy(lpszBuffer, szMimeDbContentW, dwLenMimeDbContent * sizeof(WCHAR)); memcpy(lpszBuffer + dwLenMimeDbContent, lpszType, (dwStrLen + 1) * sizeof(WCHAR)); return TRUE; }