summaryrefslogtreecommitdiffstats
path: root/src/interaction.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2012-12-16 02:22:34 +0100
committerLukas Fleischer <calcurse@cryptocrack.de>2012-12-16 02:27:39 +0100
commit574306ff85de15f3ff8423ad08ec4f49bcba15b7 (patch)
tree975bfee697cb837ffe31e4e19d0428187b95846d /src/interaction.c
parent82942938be77f407d9bb67b81160e0160e9130e3 (diff)
downloadcalcurse-574306ff85de15f3ff8423ad08ec4f49bcba15b7.tar.gz
calcurse-574306ff85de15f3ff8423ad08ec4f49bcba15b7.zip
do_storage(): Unset highlighted item if list is empty
Check if the appointment panel contains any items and unset the highlight counter if it doesn't. Not doing this resulted in core dumps if the edit command was invoked after switching to a day without any appointments/events. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/interaction.c')
0 files changed, 0 insertions, 0 deletions