[MSCTF] Sync with Wine Staging 4.0. CORE-15682

This commit is contained in:
Amine Khaldi 2019-01-29 13:05:02 +01:00
parent 513e144197
commit f089261cb9
2 changed files with 2 additions and 2 deletions

View file

@ -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]);