Fixed cut&paste error.

This commit is contained in:
Alexandre Julliard 2003-10-15 21:02:53 +00:00
parent c2d90611f6
commit 65f7ce21d5
1 changed files with 1 additions and 1 deletions

View File

@ -1823,7 +1823,7 @@ BOOL WINAPI GetMIMETypeSubKeyW(LPCWSTR lpszType, LPWSTR lpszBuffer, DWORD dwLen)
if (dwStrLen < dwLen - dwLenMimeDbContent) if (dwStrLen < dwLen - dwLenMimeDbContent)
{ {
memcpy(lpszBuffer, szMimeDbContentA, dwLenMimeDbContent * sizeof(WCHAR)); memcpy(lpszBuffer, szMimeDbContentW, dwLenMimeDbContent * sizeof(WCHAR));
memcpy(lpszBuffer + dwLenMimeDbContent, lpszType, (dwStrLen + 1) * sizeof(WCHAR)); memcpy(lpszBuffer + dwLenMimeDbContent, lpszType, (dwStrLen + 1) * sizeof(WCHAR));
return TRUE; return TRUE;
} }