comctl32/tests: Use GREEK_CHARSET in margin tests to avoid Associated Charset feature.

Due to Associated Charset feature, we currently use Chinese typeface in the
test in zh_CN locale. For consistency with another locale, we should avoid
the fature in tests.

Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Akihiro Sagawa 2019-04-23 22:01:31 +09:00 committed by Alexandre Julliard
parent 57d6c541b9
commit 48d86f8931
1 changed files with 1 additions and 1 deletions

View File

@ -1699,7 +1699,7 @@ static void test_margins_font_change(void)
memset(&lf, 0, sizeof(lf));
strcpy(lf.lfFaceName, "Arial");
lf.lfHeight = 16;
lf.lfCharSet = DEFAULT_CHARSET;
lf.lfCharSet = GREEK_CHARSET; /* to avoid associated charset feature */
hfont = CreateFontIndirectA(&lf);
lf.lfHeight = 30;
hfont2 = CreateFontIndirectA(&lf);