Francois Gouget : gdi32: The GetKerningPairsA() test should pass on all the platforms we care about now.

Alexandre Julliard julliard at winehq.org
Tue Sep 27 13:00:01 CDT 2011


Module: wine
Branch: master
Commit: 262a77057dca2a80fbbcddb82c6a0269bcd09502
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=262a77057dca2a80fbbcddb82c6a0269bcd09502

Author: Francois Gouget <fgouget at free.fr>
Date:   Tue Sep 27 00:18:00 2011 +0200

gdi32: The GetKerningPairsA() test should pass on all the platforms we care about now.

---

 dlls/gdi32/tests/font.c |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/dlls/gdi32/tests/font.c b/dlls/gdi32/tests/font.c
index 570ae14..097a6c3 100644
--- a/dlls/gdi32/tests/font.c
+++ b/dlls/gdi32/tests/font.c
@@ -1342,13 +1342,14 @@ todo_wine {
         trace("total_kern_pairs %u\n", total_kern_pairs);
         kern_pair = HeapAlloc(GetProcessHeap(), 0, total_kern_pairs * sizeof(*kern_pair));
 
-#if 0 /* Win98 (GetKerningPairsA) and XP behave differently here, the test passes on XP */
+        /* Win98 (GetKerningPairsA) and XP behave differently here, the test
+         * passes on XP.
+         */
         SetLastError(0xdeadbeef);
         ret = GetKerningPairsW(hdc, 0, kern_pair);
         ok(GetLastError() == ERROR_INVALID_PARAMETER,
-           "got error %ld, expected ERROR_INVALID_PARAMETER\n", GetLastError());
-        ok(ret == 0, "got %lu, expected 0\n", ret);
-#endif
+           "got error %u, expected ERROR_INVALID_PARAMETER\n", GetLastError());
+        ok(ret == 0, "got %u, expected 0\n", ret);
 
         ret = GetKerningPairsW(hdc, 100, NULL);
         ok(ret == total_kern_pairs, "got %u, expected %u\n", ret, total_kern_pairs);




More information about the wine-cvs mailing list