From fb639496d3ca53aeb77f463bfd9bd3fcee014208 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 25 May 2014 17:58:12 -0400 Subject: [PATCH] CmdDenotate - Converted from A3 modifications to Task::modify. --- src/commands/CmdDenotate.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/commands/CmdDenotate.cpp b/src/commands/CmdDenotate.cpp index f00a0dd46..59a7c1ca3 100644 --- a/src/commands/CmdDenotate.cpp +++ b/src/commands/CmdDenotate.cpp @@ -64,14 +64,16 @@ int CmdDenotate::execute (std::string& output) } // Apply the command line modifications to the completed task. - A3 words = context.a3.extract_modifications (); + std::vector words = context.parser.getWords (); if (!words.size ()) throw std::string (STRING_CMD_DENO_WORDS); // Accumulated project change notifications. std::map projectChanges; - std::string pattern = words.combine (); + //std::string pattern = words.combine (); + std::string pattern; + join (pattern, " ", words); std::vector ::iterator task; for (task = filtered.begin (); task != filtered.end (); ++task)