Merge branch '2.4.3' of ssh://git.tasktools.org/tm/task into 2.4.3

This commit is contained in:
Paul Beckingham
2015-03-29 17:30:06 -04:00
9 changed files with 34 additions and 31 deletions

View File

@@ -319,6 +319,7 @@ bool Duration::parse (const std::string& input, std::string::size_type& start)
start = original_start + n.cursor ();
// Linear lookup - should be logarithmic.
double seconds = 1;
for (unsigned int i = 0; i < NUM_DURATIONS; i++)
{
if (durations[i].unit == unit &&