Changeset 316


Ignore:
Timestamp:
May 17, 2007, 2:44:15 PM (14 years ago)
Author:
Peter Johansson
Message:

fixes #198

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Node.cc

    r313 r316  
    223223    os << "<td>";
    224224    if (dir())
    225       os << anchor("all/"+line_type+"/"+local_path()+"/index.html"
    226                    ,"Total", level_+2, "View statistics for all");
     225      if (local_path().empty())
     226        os << anchor("all/"+line_type+"/index.html"
     227                     ,"Total", level_+2, "View statistics for all");
     228      else
     229        os << anchor("all/"+line_type+"/"+local_path()+"/index.html"
     230                     ,"Total", level_+2, "View statistics for all");
    227231    else
    228232      os << anchor("all/"+line_type+"/"+local_path()+".html"
Note: See TracChangeset for help on using the changeset viewer.