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