Get rid of W->A calls: GetKerningPairs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Changelog
------------
        moved (stub) implementation of GetKerningPairs from ascii to unicode

--- ../wine/objects/font.c	Thu Feb 27 22:09:45 2003
+++ objects/font.c	Sat Apr 26 16:23:27 2003
@@ -1710,13 +1710,10 @@
 /*************************************************************************
  *             GetKerningPairsA   (GDI32.@)
  */
-DWORD WINAPI GetKerningPairsA( HDC hDC, DWORD cPairs, LPKERNINGPAIR lpKerningPairs )
+DWORD WINAPI GetKerningPairsA( HDC hDC, DWORD cPairs,
+                               LPKERNINGPAIR lpKerningPairs )
 {
-    int i;
-    FIXME("(%p,%ld,%p): almost empty stub!\n", hDC, cPairs, lpKerningPairs);
-    for (i = 0; i < cPairs; i++)
-        lpKerningPairs[i].iKernAmount = 0;
-    return 0;
+    return GetKerningPairsW( hDC, cPairs, lpKerningPairs );
 }
 
 
@@ -1726,7 +1723,11 @@
 DWORD WINAPI GetKerningPairsW( HDC hDC, DWORD cPairs,
                                  LPKERNINGPAIR lpKerningPairs )
 {
-    return GetKerningPairsA( hDC, cPairs, lpKerningPairs );
+    int i;
+    FIXME("(%p,%ld,%p): almost empty stub!\n", hDC, cPairs, lpKerningPairs);
+    for (i = 0; i < cPairs; i++)
+        lpKerningPairs[i].iKernAmount = 0;
+    return 0;
 }
 
 /*************************************************************************

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux