Correction

- Committed too many chunks in the last modification.
This commit is contained in:
Paul Beckingham 2010-10-23 11:29:00 -04:00
parent 79a4f666aa
commit 0a5e380bbf
4 changed files with 18 additions and 7 deletions

View file

@ -647,7 +647,7 @@ void Task::validate () const
if (has ("wait"))
{
Date wait (::atoi (get ("wait").c_str ()));
if (wait > due)
if (wait < due)
throw std::string ("A 'wait' date must be after a 'due' date.");
}