Commit d2e7a977 authored by Alexandre Julliard's avatar Alexandre Julliard

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: 's avatarAlexandre Julliard <julliard@winehq.org>
parent b9f6d1be
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment