Commit 6c6b15f2 authored by Alexander Scott-Johns's avatar Alexander Scott-Johns Committed by Alexandre Julliard

user32: Partially fix clipboard viewer infinite recursion bug.

parent 8c6353ea
......@@ -291,7 +291,7 @@ BOOL WINAPI CloseClipboard(void)
{
BOOL bRet = FALSE;
TRACE("(%d)\n", bCBHasChanged);
TRACE("() Changed=%d\n", bCBHasChanged);
if (CLIPBOARD_CloseClipboard())
{
......@@ -301,10 +301,10 @@ BOOL WINAPI CloseClipboard(void)
USER_Driver->pEndClipboardUpdate();
bCBHasChanged = FALSE;
if (hWndViewer)
SendMessageW(hWndViewer, WM_DRAWCLIPBOARD, (WPARAM) GetClipboardOwner(), 0);
bCBHasChanged = FALSE;
}
bRet = TRUE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment