.CtrlCore: Minor win32 clipboard adjustment

git-svn-id: svn://ultimatepp.org/upp/trunk@2979 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2011-01-10 08:39:03 +00:00
parent 7aced206fc
commit 2ae665ff90

View file

@ -80,7 +80,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)
int delay = 2;
int delay = 1;
for(int i = 0; i < 5; i++) {
if(OpenClipboard(utilityHWND))
return true;