Changeset 502
- Timestamp:
- Oct 20, 2007, 2:06:32 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/0.6-stable/lib/File.cc
r470 r502 33 33 #include "SVNlog.h" 34 34 35 #include <algorithm> 35 36 #include <cassert> 36 37 #include <cstdio> … … 110 111 else { 111 112 last = Date(GnuplotFE::instance()->dates().back()).seconds(); 112 first = Date(GnuplotFE::instance()->dates()[0]).seconds(); 113 // earliest date corresponds either to revision 0 or revision 1 114 first = std::min(Date(GnuplotFE::instance()->dates()[0]).seconds(), 115 Date(GnuplotFE::instance()->dates()[1]).seconds()); 113 116 } 114 117 // color is calculated linearly on time, c = kt + m
Note: See TracChangeset
for help on using the changeset viewer.