Skip to content

Commit

Permalink
Updating comment.
Browse files Browse the repository at this point in the history
Change-Id: I61114423e394561e6838e8ab262f0045892ac2c5
  • Loading branch information
utkarshayachit authored and sankhesh committed Sep 13, 2012
1 parent b4bd2b5 commit 8076ed6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions IO/vtkSTLReader.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,8 @@ int vtkSTLReader::ReadASCIISTL(FILE *fp, vtkPoints *newPts,
{
if (!fgets(line, 255, fp))
{
// if fgets() returns an error, it may be due to the fact that the EOF
// is reached (BUG #13101) hence we test again.
done = feof(fp);
if (!done)
{
Expand Down

0 comments on commit 8076ed6

Please sign in to comment.