Module: wine Branch: master Commit: 61f566260bd9b461e1ddb93ef9bdeeb94851555f URL: https://gitlab.winehq.org/wine/wine/-/commit/61f566260bd9b461e1ddb93ef9bdeeb...
Author: Tarcísio Ladeia de Oliveira wyrquill@gmail.com Date: Thu Nov 3 11:33:02 2022 -0300
gdi32/tests: Fix assertion message.
---
dlls/gdi32/tests/font.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/gdi32/tests/font.c b/dlls/gdi32/tests/font.c index 12a5bff5969..86c34a0deaa 100644 --- a/dlls/gdi32/tests/font.c +++ b/dlls/gdi32/tests/font.c @@ -6520,7 +6520,7 @@ static void test_max_height(void) r = GetTextMetricsA(hdc, &tm1); ok(r, "GetTextMetrics failed\n"); ok(tm1.tmHeight > 0, "expected a positive value, got %ld\n", tm1.tmHeight); - ok(tm1.tmAveCharWidth > 0, "expected a positive value, got %ld\n", tm1.tmHeight); + ok(tm1.tmAveCharWidth > 0, "expected a positive value, got %ld\n", tm1.tmAveCharWidth); DeleteObject(SelectObject(hdc, hfont_old));
/* test the largest value */