mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
Fix segfault in lines_i
This commit is contained in:
@@ -524,12 +524,7 @@ namespace physfs
|
||||
// Set the beginning of the next line.
|
||||
if(!file->eof())
|
||||
file->seek(newline+1);
|
||||
else if(close)
|
||||
{
|
||||
file->close();
|
||||
file->release();
|
||||
}
|
||||
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user