Bug Fix - concatenated description on modify

- When a task was modified, the new description was concatenated
  without spaces.
This commit is contained in:
Paul Beckingham
2009-03-09 03:06:41 -04:00
parent bd5e91c31f
commit 012e47267f
2 changed files with 76 additions and 2 deletions

View File

@@ -475,12 +475,20 @@ void parse (
if (isCommand (l) && validCommand (l))
command = l;
else
descCandidate += arg;
{
if (descCandidate.length ())
descCandidate += " ";
descCandidate += std::string (arg);
}
}
// Anything else is just considered description.
else
descCandidate += std::string (arg) + " ";
{
if (descCandidate.length ())
descCandidate += " ";
descCandidate += std::string (arg);
}
}
}