usp10: Avoid LPBYTE.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Aric Stewart <aric@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
34c2f74518
commit
af617aacca
|
@ -1875,7 +1875,7 @@ static void find_fallback_font(enum usp10_script scriptid, WCHAR *FaceName)
|
|||
DWORD type;
|
||||
|
||||
sprintfW(value, szFmt, scriptInformation[scriptid].scriptTag);
|
||||
if (RegQueryValueExW(hkey, value, 0, &type, (LPBYTE)FaceName, &count))
|
||||
if (RegQueryValueExW(hkey, value, 0, &type, (BYTE *)FaceName, &count))
|
||||
lstrcpyW(FaceName,scriptInformation[scriptid].fallbackFont);
|
||||
RegCloseKey(hkey);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue