git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2672 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp 2009-03-18 14:35:26 +00:00
parent f9ba681c5e
commit 4b187034de
1 changed files with 6 additions and 0 deletions

View File

@ -559,9 +559,15 @@ void groups(FILE *fp)
int n;
char *name;
// use count to not change restart format with deleted groups
// remove this on next major release
int count = 0;
for (int i = 0; i < MAX_GROUP; i++) {
name = read_char(fp);
delete [] name;
count++;
if (count == ngroup) break;
}
}