mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-17 06:06:00 -06:00
.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:
parent
fa0e5caf07
commit
bdda6e9662
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue