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:
parent
57d6c541b9
commit
48d86f8931
|
@ -1699,7 +1699,7 @@ static void test_margins_font_change(void)
|
||||||
memset(&lf, 0, sizeof(lf));
|
memset(&lf, 0, sizeof(lf));
|
||||||
strcpy(lf.lfFaceName, "Arial");
|
strcpy(lf.lfFaceName, "Arial");
|
||||||
lf.lfHeight = 16;
|
lf.lfHeight = 16;
|
||||||
lf.lfCharSet = DEFAULT_CHARSET;
|
lf.lfCharSet = GREEK_CHARSET; /* to avoid associated charset feature */
|
||||||
hfont = CreateFontIndirectA(&lf);
|
hfont = CreateFontIndirectA(&lf);
|
||||||
lf.lfHeight = 30;
|
lf.lfHeight = 30;
|
||||||
hfont2 = CreateFontIndirectA(&lf);
|
hfont2 = CreateFontIndirectA(&lf);
|
||||||
|
|
Loading…
Reference in New Issue