usp10 4/3: Fix a formating issue in 1/3

Jeff L lats at yless4u.com.au
Fri Oct 13 05:22:50 CDT 2006


This time with the patch.

This patch applies after usp10 1/3: Implement ScriptStringAnalysis and
ScriptStringFree to fix a formatting issue I reintroduced.

Changelog
  Win64 printf format warning fixes.



-------------- next part --------------
>From a6b22bb13794543ea02d1b5b5d1da25357d4f1f9 Mon Sep 17 00:00:00 2001
From: Jeff Latimer <lats at yless4u.com.au>
Date: Fri, 13 Oct 2006 20:04:07 +1000
Subject: [PATCH] Fix 08lx in tests/usp10.c
---
 dlls/usp10/tests/usp10.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/usp10/tests/usp10.c b/dlls/usp10/tests/usp10.c
index e793dc4..98dbaca 100644
--- a/dlls/usp10/tests/usp10.c
+++ b/dlls/usp10/tests/usp10.c
@@ -220,7 +220,7 @@ static void test_ScriptItemIzeShapePlace
         ok (!psc, "psc is not null after ScriptFreeCache\n");
     }
 
-    /* This is a valid test that will cause parsing to take place and create 3 script_items   */
+    /* This is a valid test that will cause parsing to take place %land create 3 script_items   */
     cInChars = (sizeof(TestItem4)/2)-1;
     cMaxItems = 255;
     hr = ScriptItemize(TestItem4, cInChars, cMaxItems, NULL, NULL, pItem, &pcItems);
@@ -668,7 +668,7 @@ static void test_ScriptString(void)
     hr = ScriptStringAnalyse( hdc, teststr, cString, cGlyphs, iCharset, dwFlags,
                               iReqWidth, &psControl, &psState, piDx, &pTabdef,
                               &pbInClass, &pssa);
-    ok(hr == S_OK, "ScriptStringAnalyse should return S_OK not %08lx\n", hr);
+    ok(hr == S_OK, "ScriptStringAnalyse should return S_OK not %08x\n", hr);
     ok(pssa != NULL, "ScriptStringAnalyse pssa should not be NULL\n");
 
     if  (hr == 0)
-- 
1.4.1



More information about the wine-patches mailing list