CmdChart: Uses findHint

This commit is contained in:
Paul Beckingham 2016-05-30 10:30:34 -04:00
parent 0aef689a3d
commit 848c9fee14

View file

@ -148,11 +148,7 @@ int renderChart (
--previous; --previous;
// Is the :blank hint being used? // Is the :blank hint being used?
bool blank = false; bool blank = findHint (cli, ":blank");
for (auto& arg : cli._args)
if (arg.hasTag ("HINT") &&
arg.getToken () == ":blank")
blank = true;
// Determine how much space is occupied by the left-margin labels. // Determine how much space is occupied by the left-margin labels.
int indent = (rules.getBoolean ("reports." + type + ".month") ? 4 : 0) + int indent = (rules.getBoolean ("reports." + type + ".month") ? 4 : 0) +