https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f089261cb9e4c6fe1192f…
commit f089261cb9e4c6fe1192f22ee8a0f59a6ca44d72
Author: Amine Khaldi <amine.khaldi(a)reactos.org>
AuthorDate: Tue Jan 29 13:05:02 2019 +0100
Commit: Amine Khaldi <amine.khaldi(a)reactos.org>
CommitDate: Tue Jan 29 13:05:02 2019 +0100
[MSCTF] Sync with Wine Staging 4.0. CORE-15682
---
dll/win32/msctf/documentmgr.c | 2 +-
media/doc/README.WINE | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dll/win32/msctf/documentmgr.c b/dll/win32/msctf/documentmgr.c
index cf4c601cff..9fa6b0f0dd 100644
--- a/dll/win32/msctf/documentmgr.c
+++ b/dll/win32/msctf/documentmgr.c
@@ -188,7 +188,7 @@ static HRESULT WINAPI DocumentMgr_Pop(ITfDocumentMgr *iface, DWORD
dwFlags)
{
int i;
- for (i = 0; i <
sizeof(This->contextStack)/sizeof(This->contextStack[0]); i++)
+ for (i = 0; i < ARRAY_SIZE(This->contextStack); i++)
if (This->contextStack[i])
{
ITfThreadMgrEventSink_OnPopContext(This->ThreadMgrSink,
This->contextStack[i]);
diff --git a/media/doc/README.WINE b/media/doc/README.WINE
index 334d42d01a..fb1db00c8b 100644
--- a/media/doc/README.WINE
+++ b/media/doc/README.WINE
@@ -106,7 +106,7 @@ reactos/dll/win32/msadp32.acm # Synced to WineStaging-4.0
reactos/dll/win32/mscat32 # Synced to WineStaging-3.3
reactos/dll/win32/mscms # Synced to WineStaging-4.0
reactos/dll/win32/mscoree # Synced to Wine-1.5.4
-reactos/dll/win32/msctf # Synced to WineStaging-3.9
+reactos/dll/win32/msctf # Synced to WineStaging-4.0
reactos/dll/win32/msftedit # Synced to WineStaging-3.3
reactos/dll/win32/msg711.acm # Synced to WineStaging-3.3
reactos/dll/win32/msgsm32.acm # Synced to WineStaging-3.3