Code Cleanup

- Corrected comment which was saying the opposite of what happens.
This commit is contained in:
Paul Beckingham 2014-08-16 10:50:05 -04:00
parent ce07b9ba7b
commit fa4fba6573

View file

@ -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);
}