Applied patch 1731039. Fixes a bug in testing if X clipboard

was owned at a given time.
This commit is contained in:
crs 2007-06-22 19:17:24 +00:00
parent 34cf5bfd92
commit d1e56572d2
1 changed files with 1 additions and 1 deletions

View File

@ -1188,7 +1188,7 @@ CXWindowsClipboard::wasOwnedAtTime(::Time time) const
// compare time to range // compare time to range
Time duration = lost - m_timeOwned; Time duration = lost - m_timeOwned;
Time when = time - m_timeOwned; Time when = time - m_timeOwned;
return (/*when >= 0 &&*/ when < duration); return (/*when >= 0 &&*/ when <= duration);
} }
Atom Atom