diff --git a/ChangeLog b/ChangeLog index 132c253cd..5d25e7130 100644 --- a/ChangeLog +++ b/ChangeLog @@ -44,6 +44,8 @@ truncated to a page. + Fixed Bug #732, which fixes misleading messages and documentation for merge/push/pull URIs (thanks to Tomas Cech). + + Fixed Bug #741, which miscounted columns widths when a table header used + unicode characters (thanks to Tomas Cech). + Fixed Bug #745, which allows projects names with spaces, provided the values are quoted (thanks to Duane Waddle). + Applied patch for Bug #746, which added missing documentation for the 'entry' diff --git a/src/Table.cpp b/src/Table.cpp index 8bd464cb8..e630fc098 100644 --- a/src/Table.cpp +++ b/src/Table.cpp @@ -288,18 +288,6 @@ Color Table::getColor (const int index, const int row, const int col) if (index % 2) c = alternate; -/* - // TODO Obsolete - this is not used. Consider removal. - // Blend with a table color, if specified. - if ((i = mColor.find ("table")) != mColor.end ()) - c.blend (i->second); - - // Blend with a column color, if specified. - sprintf (id, "col:%d", col); - if ((i = mColor.find (id)) != mColor.end ()) - c.blend (i->second); -*/ - // Blend with a row color, if specified. sprintf (id, "row:%d", row); if ((i = mColor.find (id)) != mColor.end ()) @@ -459,7 +447,7 @@ const std::string Table::formatHeader ( std::string data = mColumns[col]; Color c = getHeaderUnderline (col); - int gap = width - strippedLength (data); // TODO Does this need characters () too? + int gap = width - characters (data); std::string pad = std::string (padding, ' ');