git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2924 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -394,7 +394,7 @@ bool parse_to(const char * token,ifstream &in) {
|
||||
in.getline(iline,5000);
|
||||
if (in.eof() || !in)
|
||||
return false;
|
||||
if (strcmp(token,iline)==0)
|
||||
if (strncmp(token,iline,strlen(token))==0)
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user