Dmitry Kislyuk : msctf: Quiet a spammy fixme in InputProcessorProfileMgr_GetActiveProfile.
Alexandre Julliard
julliard at winehq.org
Tue Mar 2 15:35:59 CST 2021
Module: wine
Branch: master
Commit: 0712b6b1a08a01ee397035372345f1ad38abe393
URL: https://source.winehq.org/git/wine.git/?a=commit;h=0712b6b1a08a01ee397035372345f1ad38abe393
Author: Dmitry Kislyuk <dimaki at rocketmail.com>
Date: Mon Mar 1 18:31:26 2021 -0600
msctf: Quiet a spammy fixme in InputProcessorProfileMgr_GetActiveProfile.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50744
Signed-off-by: Dmitry Kislyuk <dimaki at rocketmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/msctf/inputprocessor.c | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/dlls/msctf/inputprocessor.c b/dlls/msctf/inputprocessor.c
index 7cb59f94460..ac7fad67548 100644
--- a/dlls/msctf/inputprocessor.c
+++ b/dlls/msctf/inputprocessor.c
@@ -866,8 +866,14 @@ static HRESULT WINAPI InputProcessorProfileMgr_UnregisterProfile(ITfInputProcess
static HRESULT WINAPI InputProcessorProfileMgr_GetActiveProfile(ITfInputProcessorProfileMgr *iface, REFGUID catid,
TF_INPUTPROCESSORPROFILE *pProfile)
{
- InputProcessorProfiles *This = impl_from_ITfInputProcessorProfileMgr(iface);
- FIXME("(%p)->(%s %p)\n", This, debugstr_guid(catid), pProfile);
+ static int once;
+
+ if (!once++)
+ {
+ InputProcessorProfiles *This = impl_from_ITfInputProcessorProfileMgr(iface);
+ FIXME("(%p)->(%s %p)\n", This, debugstr_guid(catid), pProfile);
+ }
+
return E_NOTIMPL;
}
More information about the wine-cvs
mailing list