.CtrlCore: Waiting for ClipboardOpen now 2s

git-svn-id: svn://ultimatepp.org/upp/trunk@3577 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2011-06-28 19:29:33 +00:00
parent fa0e5caf07
commit bdda6e9662

View file

@ -79,7 +79,7 @@ bool ClipboardOpen()
// Win32 has serious race condition problem with clipboard; system or other apps open it
// right after we close it thus blocking us to send more formats
// So the solution is to wait and retry... (mirek, 2011-01-09)
for(int i = 0; i < 100; i++) {
for(int i = 0; i < 200; i++) {
if(OpenClipboard(utilityHWND))
return true;
Sleep(10);