From 848c9fee14f0425bf21705b31671dc298d6eb150 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Mon, 30 May 2016 10:30:34 -0400 Subject: [PATCH] CmdChart: Uses findHint --- src/commands/CmdChart.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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) +