From 5d186034c14d7e424e5f07e8e4ca0eb492453ca9 Mon Sep 17 00:00:00 2001 From: Austin English Date: Wed, 23 Dec 2015 00:13:40 -0600 Subject: [PATCH] kernel32: Make CompareStringEx semi-stub flag FIXME only show once. Signed-off-by: Austin English Signed-off-by: Alexandre Julliard --- dlls/kernel32/locale.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dlls/kernel32/locale.c b/dlls/kernel32/locale.c index 3b632b4a844..5e7ca90ddd0 100644 --- a/dlls/kernel32/locale.c +++ b/dlls/kernel32/locale.c @@ -3265,6 +3265,7 @@ INT WINAPI CompareStringEx(LPCWSTR locale, DWORD flags, LPCWSTR str1, INT len1, DWORD semistub_flags = NORM_LINGUISTIC_CASING|LINGUISTIC_IGNORECASE|0x10000000; /* 0x10000000 is related to diacritics in Arabic, Japanese, and Hebrew */ INT ret; + static int once; if (version) FIXME("unexpected version parameter\n"); if (reserved) FIXME("unexpected reserved value\n"); @@ -3283,7 +3284,10 @@ INT WINAPI CompareStringEx(LPCWSTR locale, DWORD flags, LPCWSTR str1, INT len1, } if (flags & semistub_flags) - FIXME("semi-stub behavor for flag(s) 0x%x\n", flags & semistub_flags); + { + if (!once++) + FIXME("semi-stub behavior for flag(s) 0x%x\n", flags & semistub_flags); + } if (len1 < 0) len1 = strlenW(str1); if (len2 < 0) len2 = strlenW(str2);