Skip to content
Snippets Groups Projects
Commit 7e34e013 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit Committed by Dave DeMarle
Browse files

Updating comment.

Change-Id: I61114423e394561e6838e8ab262f0045892ac2c5
parent 61f9f0bd
Branches master
No related tags found
No related merge requests found
......@@ -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)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment