summaryrefslogtreecommitdiff
path: root/src/interaction.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/interaction.c')
-rw-r--r--src/interaction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interaction.c b/src/interaction.c
index 829e778..feff4d8 100644
--- a/src/interaction.c
+++ b/src/interaction.c
@@ -684,7 +684,7 @@ void interact_todo_delete(void)
todo_first_decrease(1);
break;
case 2:
- todo_delete_note_bynum(todo_hilt() - 1);
+ todo_delete_note(todo_get_item(todo_hilt()));
break;
default:
wins_erase_status_bar();