- Fixed underlining in color legend command when color is off - the dashes
  were not being used.
This commit is contained in:
Paul Beckingham 2010-10-16 11:06:28 -04:00
parent 47b5586d45
commit 12a90fb477

View file

@ -2107,12 +2107,14 @@ int handleColor (std::string &outs)
table.addColumn ("Color"); table.addColumn ("Color");
table.addColumn ("Definition"); table.addColumn ("Definition");
if (context.config.getBoolean ("color") || if ((context.config.getBoolean ("color") || context.config.getBoolean ("_forcecolor")) &&
context.config.getBoolean ("_forcecolor")) context.config.getBoolean ("fontunderline"))
{ {
table.setColumnUnderline (0); table.setColumnUnderline (0);
table.setColumnUnderline (1); table.setColumnUnderline (1);
} }
else
table.setTableDashedUnderline ();
foreach (item, all) foreach (item, all)
{ {