Akihiro Sagawa : user32/tests: Use GREEK_CHARSET in margin tests to avoid Associated Charset feature.
Module: wine Branch: master Commit: a4560e01358894cdfdc81ccab2a2874056b4269d URL: https://source.winehq.org/git/wine.git/?a=commit;h=a4560e01358894cdfdc81ccab... Author: Akihiro Sagawa <sagawa.aki(a)gmail.com> Date: Thu Apr 18 23:50:57 2019 +0900 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(a)gmail.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/user32/tests/edit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/user32/tests/edit.c b/dlls/user32/tests/edit.c index e8ea774..a296bc8 100644 --- a/dlls/user32/tests/edit.c +++ b/dlls/user32/tests/edit.c @@ -1793,7 +1793,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);
participants (1)
-
Alexandre Julliard