Jeff Latimer : usp10: Terminate some strings in fixmes and traces.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Apr 10 06:28:54 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: df4b0a831e3f6cf62a99bce74c7d87e32899d929
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=df4b0a831e3f6cf62a99bce74c7d87e32899d929

Author: Jeff Latimer <lats at yless4u.com.au>
Date:   Sun Apr  9 09:15:41 2006 +1000

usp10: Terminate some strings in fixmes and traces.

---

 dlls/usp10/usp10.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/usp10/usp10.c b/dlls/usp10/usp10.c
index 7299968..030498f 100644
--- a/dlls/usp10/usp10.c
+++ b/dlls/usp10/usp10.c
@@ -228,7 +228,7 @@ HRESULT WINAPI ScriptItemize(const WCHAR
     /*  Set SCRIPT_ITEM                                     */
     pItems[1].iCharPos = cInChars - pItems[0].iCharPos ; /* the last + 1 item
                                              contains the ptr to the lastchar */
-    TRACE("%s,%d,%d,%p,%p,%p,%p,%d\n", debugstr_w(pwcInChars), cInChars, cMaxItems, 
+    TRACE("%s,%d,%d,%p,%p,%p,%p,%d\n", debugstr_wn(pwcInChars, cInChars), cInChars, cMaxItems, 
           psControl, psState, pItems, pcItems, *pcItems);
     TRACE("Start Pos in string: %d, Stop Pos %d\n", pItems[0].iCharPos, pItems[1].iCharPos);
     return 0;
@@ -279,7 +279,7 @@ HRESULT WINAPI ScriptStringFree(SCRIPT_S
  *
  */
 HRESULT WINAPI ScriptIsComplex(const WCHAR* pwcInChars, int cInChars, DWORD dwFlags) {
-  FIXME("(%s,%d,0x%lx): stub\n",  debugstr_w(pwcInChars), cInChars, dwFlags);
+  FIXME("(%s,%d,0x%lx): stub\n",  debugstr_wn(pwcInChars, cInChars), cInChars, dwFlags);
    return E_NOTIMPL;
 }
 /***********************************************************************
@@ -371,7 +371,7 @@ HRESULT WINAPI ScriptPlace(HDC hdc, SCRI
     LPABC lpABC;
     Scriptcache *pScriptcache;
     FIXME("(%p, %p, %p, %s, %d, %p, %p, %p): semi-stub\n",  hdc, psc, pwGlyphs,
-                                                debugstr_w(pwGlyphs), 
+                                                debugstr_wn(pwGlyphs, cGlyphs), 
                                                 cGlyphs, psva, psa, 
                                                 piAdvance);
 




More information about the wine-cvs mailing list