summaryrefslogtreecommitdiff
path: root/src/calcurse.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2012-06-25 22:30:20 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2012-06-30 14:34:35 +0200
commit0504875219bdc4c017938bdccf564d9a452afcc6 (patch)
tree85d5a82bcb7b89cffcb9daca017107108c2f9471 /src/calcurse.c
parentb97c2a09cffa9963fd0f5086e5da6031b1d48342 (diff)
downloadcalcurse-0504875219bdc4c017938bdccf564d9a452afcc6.zip
Simplify apoint_switch_notify()
Pull out code from apoint_switch_notify() -- especially the fallback routine that calls recur_apoint_switch_notify() if the currently selected item is a recurrent item -- and move it to a wrapper function day_item_switch_notify(). Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/calcurse.c')
-rw-r--r--src/calcurse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/calcurse.c b/src/calcurse.c
index 09baab5..8a796ff 100644
--- a/src/calcurse.c
+++ b/src/calcurse.c
@@ -311,7 +311,7 @@ int main(int argc, char **argv)
case KEY_FLAG_ITEM:
if (wins_slctd() == APP && apoint_hilt() != 0) {
- apoint_switch_notify();
+ day_item_switch_notify();
inday = do_storage(0);
wins_update(FLAG_APP);
} else if (wins_slctd() == TOD && todo_hilt() != 0) {