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>
This commit is contained in:
Lukas Fleischer 2013-02-03 09:54:12 +01:00
parent 9d667e06d8
commit d5cbe794e9

View File

@ -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)