"Lei Zhang" <thestig(a)google.com> writes:
> +static void test_Bug12226(void)
> +{
Please name functions according to what they do, not their bug
number. The code must be understandable without having to look things up
in bugzilla. In any case this should most likely go into the existing
test_DrawTextCalcRect() function.
> + height = DrawTextA(hdc, "", -1, &rect,
> + DT_CALCRECT | DT_LEFT | DT_SINGLELINE);
> + todo_wine ok(16 == height, "expected %d, got %d\n", 16, height);
I don't think you can hardcode 16, that should depend on the font
metrics.
--
Alexandre Julliard
julliard(a)winehq.org