diff --git a/src/Task.cpp b/src/Task.cpp index 2687b9287..a3834afa8 100644 --- a/src/Task.cpp +++ b/src/Task.cpp @@ -364,7 +364,7 @@ Task::dateState Task::getDateState (const std::string& name) const bool Task::is_ready () const { return getStatus () == Task::pending && - !is_blocked && + ! is_blocked && (! has ("scheduled") || Date ("now").operator> (get_date ("scheduled"))); }