=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: usp10: Silence a noisy fixme in ScriptPlaceOpenType.

Alexandre Julliard julliard at winehq.org
Thu May 8 13:35:20 CDT 2014


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

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Thu May  8 17:04:42 2014 +0200

usp10: Silence a noisy fixme in ScriptPlaceOpenType.

---

 dlls/usp10/usp10.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dlls/usp10/usp10.c b/dlls/usp10/usp10.c
index ac9c0fd..0493487 100644
--- a/dlls/usp10/usp10.c
+++ b/dlls/usp10/usp10.c
@@ -3078,6 +3078,7 @@ HRESULT WINAPI ScriptPlaceOpenType( HDC hdc, SCRIPT_CACHE *psc, SCRIPT_ANALYSIS
 {
     HRESULT hr;
     int i;
+    static int once = 0;
 
     TRACE("(%p, %p, %p, %s, %s, %p, %p, %d, %s, %p, %p, %d, %p, %p, %d, %p %p %p)\n",
      hdc, psc, psa,
@@ -3091,7 +3092,7 @@ HRESULT WINAPI ScriptPlaceOpenType( HDC hdc, SCRIPT_CACHE *psc, SCRIPT_ANALYSIS
     if (!pGoffset) return E_FAIL;
 
     if (cRanges)
-        FIXME("Ranges not supported yet\n");
+        if (!once++) FIXME("Ranges not supported yet\n");
 
     ((ScriptCache *)*psc)->userScript = tagScript;
     ((ScriptCache *)*psc)->userLang = tagLangSys;




More information about the wine-cvs mailing list