mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
Cleaned up some code, the 'ry' parameter of love.graphics.rectangle now defaults to the value of 'rx' rather than defaulting to 0.
This commit is contained in:
@@ -71,7 +71,7 @@ FileData *File::read(int64 size)
|
||||
|
||||
if (!isopen)
|
||||
close();
|
||||
|
||||
|
||||
return fileData;
|
||||
}
|
||||
|
||||
|
||||
@@ -319,7 +319,7 @@ int w_File_lines_i(lua_State *L)
|
||||
file->seek(userpos);
|
||||
else
|
||||
file->close();
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ namespace love
|
||||
{
|
||||
namespace filesystem
|
||||
{
|
||||
|
||||
|
||||
#define instance() (Module::getInstance<Filesystem>(Module::M_FILESYSTEM))
|
||||
|
||||
bool hack_setupWriteDirectory()
|
||||
|
||||
Reference in New Issue
Block a user