Re: [4/4] user32: Prevent clipboard viewers that change the clipboard from going into an infinite loop.
23 Sep
2009
23 Sep
'09
2:15 p.m.
Alexander Scott-Johns <alexander.scott.johns(a)googlemail.com> writes:
@@ -287,6 +287,7 @@ BOOL WINAPI OpenClipboard( HWND hWnd ) */ BOOL WINAPI CloseClipboard(void) { + static BOOL bRecursion = FALSE; BOOL bRet = FALSE;
You shouldn't use a static variable, this would have to be per-thread. But it's probably better to find a way to do that based on the current clipboard info. -- Alexandre Julliard julliard(a)winehq.org
5926
Age (days ago)
5926
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard