mlang: Skip Unicode codepages in GetCharCodePages().

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50351
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2022-03-18 14:46:46 +01:00
parent 9f1762e831
commit 1d23255e20
1 changed files with 1 additions and 1 deletions

View File

@ -3312,7 +3312,7 @@ static HRESULT WINAPI fnIMLangFontLink2_GetCharCodePages( IMLangFontLink2* iface
*ret_codepages = 0;
for (i = 0; i < ARRAY_SIZE(mlang_data); i++)
for (i = 0; i < ARRAY_SIZE(mlang_data) - 1 /* skip unicode codepages */; i++)
{
BOOL used_dc;
CHAR buf;