Module: wine Branch: master Commit: 7a76ae1a650cf6ee4c4556e89e3f77a62de1289b URL: http://source.winehq.org/git/wine.git/?a=commit;h=7a76ae1a650cf6ee4c4556e89e...
Author: Francois Gouget fgouget@free.fr Date: Sat Jan 6 19:32:23 2007 +0100
gdi32/tests: Replace an '#if 0' with an 'if (0)'.
---
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..e18bffe 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); }