Aric Stewart aric@codeweavers.com writes:
@@ -1262,6 +1290,70 @@ static void test_GetCharABCWidths(void) }
ReleaseDC(NULL, hdc);
- memset(&lf, 0, sizeof(lf));
- strcpy(lf.lfFaceName, "Tahoma");
- lf.lfHeight = 20;
+#define helper_ABC(a) (winetest_set_location(__FILE__,__LINE__), 0) ? 0 : helper_ABCWidths(hdc, glyphs, abc, abcw, abcf, a)
Please avoid that sort of macro. You can pass a description string, or simply print the current extents in the helper function, so that we can figure out the failing code without relying on line numbers.