Changeset 252


Ignore:
Timestamp:
Apr 29, 2007, 3:17:34 PM (16 years ago)
Author:
Peter Johansson
Message:

fixes #168, the if statement introduced should be built-in to a function refs #169

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Node.cc

    r251 r252  
    148148      os << "<tr class=\"" << color << "\"><td>";
    149149      if (dir())
    150         os << anchor(*i+"/"+line_type+"/"+local_path()+"/index.html"
    151                      ,*i, level_+2, "View statistics for "+*i);
     150        if (local_path().empty())
     151          os << anchor(*i+"/"+line_type+"/index.html"
     152                       ,*i, level_+2, "View statistics for "+*i);
     153        else
     154          os << anchor(*i+"/"+line_type+"/"+local_path()+"/index.html"
     155                       ,*i, level_+2, "View statistics for "+*i);
    152156      else
    153157        os << anchor(*i+"/"+line_type+"/"+local_path()+".html"
Note: See TracChangeset for help on using the changeset viewer.