mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
CmdChart: Uses findHint
This commit is contained in:
parent
0aef689a3d
commit
848c9fee14
1 changed files with 1 additions and 5 deletions
|
@ -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) +
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue