From fa4fba657326a50610f229f4c76d5c174f302b34 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 16 Aug 2014 10:50:05 -0400 Subject: [PATCH] Code Cleanup - Corrected comment which was saying the opposite of what happens. --- src/Task.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Task.cpp b/src/Task.cpp index 23df28439..c00b174d4 100644 --- a/src/Task.cpp +++ b/src/Task.cpp @@ -1543,7 +1543,7 @@ void Task::validate (bool applyDefault /* = true */) { std::string defVal= context.config.get ("uda." + *uda + ".default"); - // If the default is empty, and we already have a value, skip it + // If the default is empty, or we already have a value, skip it if (defVal != "" && get (*uda) == "") set (*uda, defVal); }