Fix segfault in lines_i

This commit is contained in:
Bart van Strien
2011-08-06 17:14:52 +02:00
parent a79231f9f9
commit d3280ae55b
@@ -524,11 +524,6 @@ namespace physfs
// Set the beginning of the next line. // Set the beginning of the next line.
if(!file->eof()) if(!file->eof())
file->seek(newline+1); file->seek(newline+1);
else if(close)
{
file->close();
file->release();
}
return 1; return 1;
} }