diff --git a/src/util.cpp b/src/util.cpp index d450ecc67..2671caa98 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -342,7 +342,7 @@ bool taskDiff (const Task& before, const Task& after) std::vector afterOnly; listDiff (beforeAtts, afterAtts, beforeOnly, afterOnly); - if (beforeOnly.size () || + if (beforeOnly.size () != afterOnly.size ()) return true;