gdi32/tests: Replace an '#if 0' with an 'if (0)'.
Francois Gouget
fgouget at free.fr
Sat Jan 6 12:32:23 CST 2007
---
dlls/gdi32/tests/font.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/dlls/gdi32/tests/font.c b/dlls/gdi32/tests/font.c
index cc8325e..a110e31 100644
--- a/dlls/gdi32/tests/font.c
+++ b/dlls/gdi32/tests/font.c
@@ -668,10 +668,9 @@ todo_wine {
kd[i].otmMacAscent, otm.otmMacAscent);
ok(kd[i].otmMacDescent == otm.otmMacDescent, "expected %d, got %d\n",
kd[i].otmMacDescent, otm.otmMacDescent);
-#if 0 /* this one succeeds due to expected 0, enable it when removing todo */
- ok(kd[i].otmMacLineGap == otm.otmMacLineGap, "expected %u, got %u\n",
+ /* FIXME: this one sometimes succeeds due to expected 0, enable it when removing todo */
+ if (0) ok(kd[i].otmMacLineGap == otm.otmMacLineGap, "expected %u, got %u\n",
kd[i].otmMacLineGap, otm.otmMacLineGap);
-#endif
ok(kd[i].otmusMinimumPPEM == otm.otmusMinimumPPEM, "expected %u, got %u\n",
kd[i].otmusMinimumPPEM, otm.otmusMinimumPPEM);
}
--
1.4.4.2
More information about the wine-patches
mailing list