Changeset 579 for trunk/lib/File.cc
- Timestamp:
- Mar 18, 2008, 3:11:51 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/File.cc
r552 r579 34 34 #include "SVNlog.h" 35 35 36 #include <algorithm> 36 37 #include <cassert> 37 38 #include <cstdio> … … 229 230 else { 230 231 last = Date(GnuplotFE::instance()->dates().back()).seconds(); 231 first = Date(GnuplotFE::instance()->dates()[0]).seconds(); 232 // earliest date corresponds either to revision 0 or revision 1 233 first = std::min(Date(GnuplotFE::instance()->dates()[0]).seconds(), 234 Date(GnuplotFE::instance()->dates()[1]).seconds()); 232 235 } 233 236 // color is calculated linearly on time, c = kt + m
Note: See TracChangeset
for help on using the changeset viewer.