Changeset 176 for trunk/lib/Node.cc


Ignore:
Timestamp:
Sep 2, 2006, 6:17:28 AM (16 years ago)
Author:
Peter Johansson
Message:

fixes #12 binary files are now printed with note without anchor. Binary files and directories all counted as zero lines.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Node.cc

    r175 r176  
    6767    os << "<tr class=\"" << css_class << "\">\n"
    6868       << "<td>" ;
    69     anchor(os,href(), name());
     69    if (binary())
     70      os << name() << " (<i>binary</i>)";
     71    else
     72      anchor(os,href(), name());
    7073    os << "</td>\n"
    7174       << "<td>" << stats_.lines() << "</td>\n"
Note: See TracChangeset for help on using the changeset viewer.