Changeset 64


Ignore:
Timestamp:
Jan 20, 2006, 10:02:37 AM (16 years ago)
Author:
Peter Johansson
Message:

fixed problem with parsing with user names with white spaces, e.g. (no author)

Location:
trunk/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/CommitStat.cc

    r63 r64  
    4646        ss >> tmp;
    4747        std::string user;
    48         ss >> user;
    49         ss >> tmp;
     48        getline(ss,user,'|');
    5049        ss >> date;
    5150        std::string time;
  • trunk/lib/Gnuplot.cc

    r63 r64  
    6464    command("set timefmt '" + date_input_format_ + "'");
    6565    command("set format x '" + format + "'");
    66     assert(date_[0].size());
    67     assert(y.back());
    6866    plot(y,date_,"plot");
    6967  }
Note: See TracChangeset for help on using the changeset viewer.