mlang: Fix scripts values in fnIMLangFontLink2_GetScriptFontInfo().

Signed-off-by: Serge Gautherie <winehq-git_serge_180711@gautherie.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Serge Gautherie 2020-07-15 17:07:10 +02:00 committed by Alexandre Julliard
parent 380fbe006a
commit 2dc0758b5d
1 changed files with 1 additions and 1 deletions

View File

@ -3565,7 +3565,7 @@ static HRESULT WINAPI fnIMLangFontLink2_GetScriptFontInfo(IMLangFontLink2* This,
{
if (j >= *puiFonts) break;
pScriptFont[j].scripts = 1 << mlang_data[i].sid;
pScriptFont[j].scripts = (SCRIPT_IDS)1 << mlang_data[i].sid;
if (dwFlags == SCRIPTCONTF_FIXED_FONT)
{
MultiByteToWideChar(CP_ACP, 0, mlang_data[i].fixed_font, -1,