added instruction to skip an extra line in the ffield file

This commit is contained in:
Nico Pietroni 2014-07-02 15:02:57 +00:00
parent 2c0fa9a323
commit c3daffa826
1 changed files with 1 additions and 0 deletions

View File

@ -105,6 +105,7 @@ public:
{
return false;
}
while (fscanf(f,"%c",&c)!=EOF) if (c=='\n') break;
int nnv = -1;
if (fscanf(f,"%d",&nnv)!=1)
{