From d1e56572d2184de5e47526c8b1add8f883d3a482 Mon Sep 17 00:00:00 2001 From: crs Date: Fri, 22 Jun 2007 19:17:24 +0000 Subject: [PATCH] Applied patch 1731039. Fixes a bug in testing if X clipboard was owned at a given time. --- lib/platform/CXWindowsClipboard.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/platform/CXWindowsClipboard.cpp b/lib/platform/CXWindowsClipboard.cpp index c380c9cc..91399013 100644 --- a/lib/platform/CXWindowsClipboard.cpp +++ b/lib/platform/CXWindowsClipboard.cpp @@ -1188,7 +1188,7 @@ CXWindowsClipboard::wasOwnedAtTime(::Time time) const // compare time to range Time duration = lost - m_timeOwned; Time when = time - m_timeOwned; - return (/*when >= 0 &&*/ when < duration); + return (/*when >= 0 &&*/ when <= duration); } Atom