Commit fe8e6e1e authored by sjplimp's avatar sjplimp
Browse files

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5125 f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent 5b5aedb0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -355,7 +355,7 @@ void PairTable::read_table(Table *tb, char *file, char *keyword)
  while (1) {
    if (fgets(line,MAXLINE,fp) == NULL)
      error->one("Did not find keyword in table file");
    if (strspn(line," \t\n") == strlen(line)) continue;    // blank line
    if (strspn(line," \t\n\r") == strlen(line)) continue;  // blank line
    if (line[0] == '#') continue;                          // comment
    if (strstr(line,keyword) == line) break;               // matching keyword
    fgets(line,MAXLINE,fp);                         // no match, skip section