Changeset 498 for trunk/lib/File.cc


Ignore:
Timestamp:
Oct 14, 2007, 8:09:34 AM (14 years ago)
Author:
Peter Johansson
Message:

fixes #223

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/File.cc

    r497 r498  
    251251      else
    252252        color = hex(static_cast<int>(k*blame.revision()+m),2);
    253       os << "<tr>\n<td class=\"rev\"><font color=\"#" << color
    254          << color << color << "\">" << blame.revision()
     253      os << "<tr>\n<td class=\"rev\">";
     254      std::stringstream color_ss;
     255      color_ss << "#" << color << color << color;
     256      os << "<font color=\"" << color_ss.str() << "\">"
     257         << trac_revision(blame.revision(), color_ss.str())
    255258         << "</font></td>\n<td class=\"date\"><font color=\"#" << color
    256259         << color << color << "\">" ;
Note: See TracChangeset for help on using the changeset viewer.