Bug - limit

- When the 'limit:N' filter was used, a confusing message was displayed,
  especially when there were fewer filtered tasks that the limit.
This commit is contained in:
Paul Beckingham 2010-08-07 20:05:34 -04:00
parent f83cc3f39a
commit 3bb7abf9c3

View file

@ -659,7 +659,7 @@ int handleCustomReport (const std::string& report, std::string &outs)
if (maxrows)
out << ", " << maxrows << " shown";
if (maxlines < table.rowCount ())
if (maxlines && maxlines < table.rowCount ())
out << ", truncated to " << maxlines - 1 << " lines";
out << std::endl;