Module: wine Branch: master Commit: 2dc0758b5d0fe4ef49b7d0635299e5cb9e0360df URL: https://source.winehq.org/git/wine.git/?a=commit;h=2dc0758b5d0fe4ef49b7d0635...
Author: Serge Gautherie winehq-git_serge_180711@gautherie.fr Date: Wed Jul 15 17:07:10 2020 +0200
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
---
dlls/mlang/mlang.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/mlang/mlang.c b/dlls/mlang/mlang.c index 1b1aed370e..e3582cca2d 100644 --- a/dlls/mlang/mlang.c +++ b/dlls/mlang/mlang.c @@ -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,