(fix) offset can be negative (fixes #4237)
This commit is contained in:
parent
b7c8f43bcc
commit
66685d9f7f
|
@ -1227,7 +1227,8 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir
|
||||||
iCalDateTime *dtstart;
|
iCalDateTime *dtstart;
|
||||||
iCalRepeatableEntityObject *component;
|
iCalRepeatableEntityObject *component;
|
||||||
iCalTimeZone *eventTimeZone;
|
iCalTimeZone *eventTimeZone;
|
||||||
unsigned count, max, offset;
|
unsigned count, max;
|
||||||
|
int offset;
|
||||||
id tz;
|
id tz;
|
||||||
|
|
||||||
content = [theRecord objectForKey: @"c_cycleinfo"];
|
content = [theRecord objectForKey: @"c_cycleinfo"];
|
||||||
|
|
Loading…
Reference in a new issue