Aric Stewart : gdi32: Silence a common and expected error.

Alexandre Julliard julliard at winehq.org
Mon Sep 13 17:14:42 CDT 2010


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

Author: Aric Stewart <aric at codeweavers.com>
Date:   Thu Sep  9 15:28:15 2010 -0500

gdi32: Silence a common and expected error.

---

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

diff --git a/dlls/gdi32/bidi.c b/dlls/gdi32/bidi.c
index 7d748fd..4ef0e99 100644
--- a/dlls/gdi32/bidi.c
+++ b/dlls/gdi32/bidi.c
@@ -622,7 +622,10 @@ BOOL BIDI_Reorder(
                 }
                 if (res)
                 {
-                    FIXME("Unable to shape string (%x)\n",res);
+                    if (res == USP_E_SCRIPT_NOT_IN_FONT)
+                        TRACE("Unable to shape with currently selected font\n");
+                    else
+                        FIXME("Unable to shape string (%x)\n",res);
                     j = nItems;
                     doGlyphs = FALSE;
                     HeapFree(GetProcessHeap(), 0, *lpGlyphs);




More information about the wine-cvs mailing list