Mike McCormack : kernel32: Print a FIXME only once.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Nov 14 05:14:14 CST 2006


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

Author: Mike McCormack <mike at codeweavers.com>
Date:   Tue Nov 14 16:31:51 2006 +0900

kernel32: Print a FIXME only once.

---

 dlls/kernel32/locale.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/dlls/kernel32/locale.c b/dlls/kernel32/locale.c
index 748995c..27d0034 100644
--- a/dlls/kernel32/locale.c
+++ b/dlls/kernel32/locale.c
@@ -1524,6 +1524,7 @@ INT WINAPI MultiByteToWideChar( UINT pag
 {
     const union cptable *table;
     int ret;
+    static int once;
 
     if (!src || (!dst && dstlen))
     {
@@ -1533,7 +1534,11 @@ INT WINAPI MultiByteToWideChar( UINT pag
 
     if (srclen < 0) srclen = strlen(src) + 1;
 
-    if (flags & MB_USEGLYPHCHARS) FIXME("MB_USEGLYPHCHARS not supported\n");
+    if (!once && (flags & MB_USEGLYPHCHARS))
+    {
+        once = 1;
+        FIXME("MB_USEGLYPHCHARS not supported\n");
+    }
 
     switch(page)
     {




More information about the wine-cvs mailing list