ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/ZConsReader.cpp
(Generate patch)

Comparing trunk/OOPSE/libmdtools/ZConsReader.cpp (file contents):
Revision 1074 by tim, Mon Mar 1 20:01:50 2004 UTC vs.
Revision 1097 by gezelter, Mon Apr 12 20:32:20 2004 UTC

# Line 130 | Line 130 | void ZConsReader::readNextFrame(){
130    int sscanfCount;
131  
132    istream->getline(line, MAXBUFFERSIZE);
133 <  sscanfCount = sscanf(line, "%f", curTime);
133 >  sscanfCount = sscanf(line, "%lf", &curTime);
134    if (sscanfCount != 1){
135      cerr << "ZConsReader Error : reading file error" << endl;
136      exit(1);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines