summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2013-02-03 09:54:12 +0100
committerLukas Fleischer <calcurse@cryptocrack.de>2013-02-03 09:55:52 +0100
commitd5cbe794e990d6b5e9d68551496adf22218cfc63 (patch)
tree96c4ed3c8a9c34532748323dd0d115117d1e0e94 /src
parent9d667e06d85eb3d82ab8deea166c7a48f2a8633e (diff)
downloadcalcurse-d5cbe794e990d6b5e9d68551496adf22218cfc63.zip
Do not prompt for a todo after adding an appointment
We effectively turned the addition of an appointment into a fall through case by deleting the break statement during refactoring. Revert this deletion to skip the second prompt. Regression introduced in f2dca7de3e8b164a4b3af3d58dde2f6776bfbee6. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src')
-rw-r--r--src/calcurse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/calcurse.c b/src/calcurse.c
index 43189b0..964d8ac 100644
--- a/src/calcurse.c
+++ b/src/calcurse.c
@@ -146,6 +146,7 @@ static inline void key_add_item(void)
interact_day_item_add();
inday = do_storage(0);
wins_update(FLAG_CAL | FLAG_APP | FLAG_STA);
+ break;
case TOD:
interact_todo_add();
if (todo_hilt() == 0 && todo_nb() == 1)