Alexander Scott-Johns <alexander.scott.jo...@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 julli...@winehq.org