mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-28 13:37:20 +02:00
TW-1553: Setting defaultheight:0 makes burndown command hang
- Thanks to Tomas Babej.
This commit is contained in:
parent
ff53919af1
commit
063255ba16
11 changed files with 17 additions and 0 deletions
|
@ -419,6 +419,12 @@ std::string Chart::render ()
|
|||
return std::string (STRING_CMD_BURN_TOO_SMALL) + "\n";
|
||||
}
|
||||
|
||||
else if (_graph_height > 1000 || // each line is a string allloc
|
||||
_graph_width > 1000)
|
||||
{
|
||||
return std::string (STRING_CMD_BURN_TOO_LARGE) + "\n";
|
||||
}
|
||||
|
||||
if (_max_value == 0)
|
||||
context.footnote (STRING_FEEDBACK_NO_MATCH);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue