Re: [PATCH] user32: add a DrawText test for bug 12226.
27 Mar
2008
27 Mar
'08
10:34 a.m.
"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
6476
Age (days ago)
6476
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard