Revise todo_delete_note_bynum()

Pass an item instead of passing a list item index (analogous to commit
02c90ba53a).

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
Lukas Fleischer
2012-07-01 22:51:44 +02:00
parent 3f1359cdeb
commit 1c53c9d8c3
3 changed files with 3 additions and 9 deletions

View File

@@ -905,7 +905,7 @@ int todo_hilt_pos(void);
char *todo_saved_mesg(void);
struct todo *todo_add(char *, int, char *);
void todo_write(struct todo *, FILE *);
void todo_delete_note_bynum(unsigned);
void todo_delete_note(struct todo *);
void todo_delete(struct todo *);
void todo_flag(struct todo *);
void todo_chg_priority(struct todo *, int);