Changeset 651 for trunk


Ignore:
Timestamp:
Jun 8, 2008, 5:23:45 AM (13 years ago)
Author:
Peter Johansson
Message:

refs #305 - fixing so recent log is only the 10 most recent

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/first_page.cc

    r647 r651  
    175175    typedef std::vector<Commitment>::const_reverse_iterator iter;
    176176    for (iter i=log.commits().rbegin();
    177          i < std::min(i+10,log.commits().rend()); ++i) {
     177         i < std::min(log.commits().rbegin()+10,log.commits().rend()); ++i) {
    178178      os << "<tr><td>"
    179179         << anchor(std::string("classic/")+i->author()+"/total/index.html",
Note: See TracChangeset for help on using the changeset viewer.