From 1be01b19a4de268853184a8c8b5f97a788667d53 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Wed, 24 Dec 2014 00:15:35 -0500 Subject: [PATCH] Task - Prevented some (but not all) errors from being incorrectly displayed as "no longer support file format 1". --- src/Task.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Task.cpp b/src/Task.cpp index fe855b4f8..3896bd11d 100644 --- a/src/Task.cpp +++ b/src/Task.cpp @@ -738,6 +738,10 @@ void Task::parseLegacy (const std::string& line) // File format version 3, from 2009-3-23 - 2009-05-16, v1.6.0 - v1.7.1 case 3: throw std::string (STRING_TASK_NO_FF3); + // File format version 4, from 2009-05-16 - today, v1.7.1+ + case 4: + break; + default: std::stringstream message; message << "Invalid fileformat at line '"