From ca795ea281f9350ba5d1bd2b4d984d8bc8b73fc4 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Mon, 23 Mar 2009 21:55:02 -0400 Subject: [PATCH] Bug Fix - confirmation was broken - Fixed inverted condition that broke confirmation. --- src/command.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/command.cpp b/src/command.cpp index 64e70cc91..b4f039803 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -434,7 +434,7 @@ std::string handleDelete (TDB& tdb, T& task, Config& conf) { std::stringstream out; - if (conf.get ("confirmation", true) || confirm ("Permanently delete task?")) + if (!conf.get (std::string ("confirmation"), false) || confirm ("Permanently delete task?")) { std::vector all; tdb.allPendingT (all);