user32/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
19bf03ed4b
commit
a4560e0135
|
@ -1793,7 +1793,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