gdi32/tests: Use the OS/2 last char for the Ansi charset limit.

Fixes a test failure with the cmmi10.ttf font.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2021-11-14 11:52:12 +01:00
parent b9f6d1be00
commit d2e7a977cf
1 changed files with 1 additions and 1 deletions

View File

@ -3997,7 +3997,7 @@ static void test_text_metrics(const LOGFONTA *lf, const NEWTEXTMETRICA *ntm)
expect_break_W = os2_first_char;
expect_default_W = expect_break_W - 1;
expect_first_A = expect_default_W - 1;
expect_last_A = min(expect_last_W, 0xff);
expect_last_A = min(os2_last_char, 0xff);
}
expect_break_A = expect_break_W;
expect_default_A = expect_default_W;