summaryrefslogtreecommitdiffstats
path: root/src/getstring.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2012-03-30 21:34:53 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2012-03-30 21:46:46 +0200
commit516a793375424ea2bbdc891bf0c917a8f7b388a1 (patch)
treed6ef9a3897e510f963dcb8686cad82336b975d45 /src/getstring.c
parentd31cda54243fd5c91696eb21e60e84241b9b3397 (diff)
downloadcalcurse-516a793375424ea2bbdc891bf0c917a8f7b388a1.tar.gz
calcurse-516a793375424ea2bbdc891bf0c917a8f7b388a1.zip
Do not use LLIST_*_CONT for appointments
This no longer works since we allow appointments lasting longer than 24 hours. This means that there might be an appointment that starts after another one and lasts until the selected day, even though the former doesn't. A simple example, where the old LLIST_TS_FOREACH_CONT approach fails, is: 03/29/2012 @ 19:00 -> 03/30/2012 @ 10:00 |Long event 03/29/2012 @ 21:00 -> 03/29/2012 @ 23:15 |Event 1 (shown) 03/30/2012 @ 14:00 -> 03/30/2012 @ 15:00 |Event 2 (not shown) Instead, allow incoherent appointments and only break if the current appointment *starts after* the selected day. Reported-by: Baptiste Jonglez <baptiste@jonglez.org> Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/getstring.c')
0 files changed, 0 insertions, 0 deletions