summaryrefslogtreecommitdiff
path: root/src/todo.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2012-04-06 23:21:18 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2012-04-06 23:23:58 +0200
commit1c442e6aefd8855cdeec776b0e4e604edf585884 (patch)
tree18b7a62118ce65473d3bd192b2c86a1954f42178 /src/todo.c
parentd0b0ed3c202c3212a65ba628026a53d9663fc2d7 (diff)
downloadcalcurse-1c442e6aefd8855cdeec776b0e4e604edf585884.zip
Miscellaneous small code cleanups
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/todo.c')
-rw-r--r--src/todo.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/todo.c b/src/todo.c
index d72b64c..7419222 100644
--- a/src/todo.c
+++ b/src/todo.c
@@ -242,7 +242,6 @@ todo_flag (void)
void
todo_delete (void)
{
- char *choices = "[y/n] ";
const char *del_todo_str = _("Do you really want to delete this task ?");
const char *erase_warning =
_("This item has a note attached to it. "
@@ -252,7 +251,7 @@ todo_delete (void)
if (conf.confirm_delete)
{
- status_mesg (del_todo_str, choices);
+ status_mesg_yesno (del_todo_str);
answer = wgetch (win[STA].p);
if ((answer != 'y') || (todos <= 0))
{