Piotr Caban : winex11.drv: Silence ImeSetActiveContext fixme.

Alexandre Julliard julliard at winehq.org
Fri Oct 15 15:40:06 CDT 2021


Module: wine
Branch: master
Commit: 0925a730272ed0c97f64c3365ebe542401f60d7c
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=0925a730272ed0c97f64c3365ebe542401f60d7c

Author: Piotr Caban <piotr at codeweavers.com>
Date:   Fri Oct 15 15:27:40 2021 +0200

winex11.drv: Silence ImeSetActiveContext fixme.

Signed-off-by: Piotr Caban <piotr at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/winex11.drv/ime.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dlls/winex11.drv/ime.c b/dlls/winex11.drv/ime.c
index dfeed2cb1e6..c1584930861 100644
--- a/dlls/winex11.drv/ime.c
+++ b/dlls/winex11.drv/ime.c
@@ -620,7 +620,10 @@ BOOL WINAPI ImeSelect(HIMC hIMC, BOOL fSelect)
 
 BOOL WINAPI ImeSetActiveContext(HIMC hIMC,BOOL fFlag)
 {
-    FIXME("(%p, %x): stub\n", hIMC, fFlag);
+    static int once;
+
+    if (!once++)
+        FIXME("(%p, %x): stub\n", hIMC, fFlag);
     return TRUE;
 }
 




More information about the wine-cvs mailing list