From 58bf88f42507d3bbd31a250f66dcb8a980144728 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 25 May 2014 17:30:49 -0400 Subject: [PATCH] CmdLog - Converted from A3 modifications to Task::modify. --- src/commands/CmdLog.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/commands/CmdLog.cpp b/src/commands/CmdLog.cpp index 6494959ad..ce2508234 100644 --- a/src/commands/CmdLog.cpp +++ b/src/commands/CmdLog.cpp @@ -50,9 +50,8 @@ int CmdLog::execute (std::string& output) int rc = 0; // Apply the command line modifications to the new task. - A3 modifications = context.a3.extract_modifications (); Task task; - modify_task_description_replace (task, modifications); + task.modify (Task::modReplace); task.setStatus (Task::completed); // Recurring tasks get a special status.