mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
.CtrlCore: OpenClipboard increased number of attempts
git-svn-id: svn://ultimatepp.org/upp/trunk@3537 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
f6dcdbe88e
commit
ca68d8821d
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ bool ClipboardOpen()
|
|||
// right after we close it thus blocking us to send more formats
|
||||
// So the solution is to wait and retry... (mirek, 2011-01-09)
|
||||
int delay = 5;
|
||||
for(int i = 0; i < 5; i++) {
|
||||
for(int i = 0; i < 10; i++) {
|
||||
if(OpenClipboard(utilityHWND))
|
||||
return true;
|
||||
Sleep(delay += delay);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue