mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +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.
|
// 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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user