.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:
cxl 2011-06-16 15:13:07 +00:00
parent f6dcdbe88e
commit ca68d8821d

View file

@ -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);