[try3] gdi32: abc values remain the same despite any changes in layout direction or Viewport
Alexandre Julliard
julliard at winehq.org
Thu Sep 12 12:32:39 CDT 2013
Aric Stewart <aric at 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.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list