From 2ae665ff90ed222666bcca2da03b56dc0b83dc02 Mon Sep 17 00:00:00 2001 From: cxl Date: Mon, 10 Jan 2011 08:39:03 +0000 Subject: [PATCH] .CtrlCore: Minor win32 clipboard adjustment git-svn-id: svn://ultimatepp.org/upp/trunk@2979 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/CtrlCore/Win32Clip.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uppsrc/CtrlCore/Win32Clip.cpp b/uppsrc/CtrlCore/Win32Clip.cpp index 6449af5d9..bc0c8e00e 100644 --- a/uppsrc/CtrlCore/Win32Clip.cpp +++ b/uppsrc/CtrlCore/Win32Clip.cpp @@ -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;