mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-14 21:04:53 +00:00
Monotone-Parent: 34b0098e2e34111ae63e0f056fceabfd7cb1362e
Monotone-Revision: 22aa1cec549d6f3ee5d911534369beaf41910226 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-12-30T20:20:41 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -371,8 +371,14 @@ static inline void
|
||||
_feedBlockWithDayBasedData(NSMutableDictionary *block, unsigned int start,
|
||||
unsigned int end, unsigned int dayStart)
|
||||
{
|
||||
unsigned int delta, quarterStart, length;
|
||||
|
||||
unsigned int delta, quarterStart, length, swap;
|
||||
|
||||
if (start > end)
|
||||
{
|
||||
swap = end;
|
||||
end = start;
|
||||
start = swap;
|
||||
}
|
||||
quarterStart = (start - dayStart) / quarterLength;
|
||||
delta = end - dayStart;
|
||||
if ((delta % quarterLength))
|
||||
|
||||
Reference in New Issue
Block a user