aboutsummaryrefslogtreecommitdiffstats
path: root/src/apoint.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/apoint.c')
-rw-r--r--src/apoint.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/apoint.c b/src/apoint.c
index 60a7c19..9bcde1b 100644
--- a/src/apoint.c
+++ b/src/apoint.c
@@ -276,8 +276,7 @@ apoint_delete (unsigned *nb_events, unsigned *nb_apoints)
if (conf.confirm_delete)
{
- status_mesg_yesno (del_app_str);
- if (wgetch (win[STA].p) != 'y')
+ if (status_ask_bool (del_app_str) != 1)
{
wins_erase_status_bar ();
return;