- Fixed bug #859, which used only one color for the 'ghistory.*' report
  legends (thanks to Uli Martens).
This commit is contained in:
Paul Beckingham 2011-10-06 23:05:23 -04:00
parent d0d2bba614
commit 5c685153dc
2 changed files with 6 additions and 4 deletions

View file

@ -518,8 +518,8 @@ int CmdGHistoryMonthly::execute (std::string& output)
if (context.color ())
out << format (STRING_CMD_HISTORY_LEGEND,
color_add.colorize (STRING_CMD_HISTORY_ADDED),
color_add.colorize (STRING_CMD_HISTORY_COMP),
color_add.colorize (STRING_CMD_HISTORY_DEL))
color_done.colorize (STRING_CMD_HISTORY_COMP),
color_delete.colorize (STRING_CMD_HISTORY_DEL))
<< optionalBlankLine ()
<< "\n";
else
@ -708,8 +708,8 @@ int CmdGHistoryAnnual::execute (std::string& output)
if (context.color ())
out << format (STRING_CMD_HISTORY_LEGEND,
color_add.colorize (STRING_CMD_HISTORY_ADDED),
color_add.colorize (STRING_CMD_HISTORY_COMP),
color_add.colorize (STRING_CMD_HISTORY_DEL))
color_done.colorize (STRING_CMD_HISTORY_COMP),
color_delete.colorize (STRING_CMD_HISTORY_DEL))
<< optionalBlankLine ()
<< "\n";
else