source:
npl/overig/libical/libical-nth-recur-overflow.diff
@
0105685
Last change on this file since 0105685 was c5c522c, checked in by , 8 years ago | |
---|---|
|
|
File size: 560 bytes |
-
src/libical/icalrecur.c
old new 2140 2140 } else if (pos > 0) { 2141 2141 /* Add the nth instance of the weekday within the month. */ 2142 2142 month_day = first_matching_day + (pos - 1) * 7; 2143 2144 /* Track back overflowing days */ 2145 while(month_day > days_in_month) 2146 month_day -=7; 2143 2147 2144 2148 if (month_day <= days_in_month) 2145 2149 impl->days[days_index++] = (short)(doy_offset + month_day);
Note: See TracBrowser
for help on using the repository browser.