Don't mind me;

This commit is contained in:
bjorn 2019-09-26 21:58:06 -07:00
parent c210d4e11d
commit cc858e062c
1 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ static int l_lovrFilesystemAppend(lua_State* L) {
size_t size;
const char* path = luaL_checkstring(L, 1);
const char* content = luaL_checklstring(L, 2, &size);
lua_pushnumber(L, lovrFilesystemWrite(path, content, size, 1));
lua_pushnumber(L, lovrFilesystemWrite(path, content, size, true));
return 1;
}
@ -287,7 +287,7 @@ static int l_lovrFilesystemWrite(lua_State* L) {
size_t size;
const char* path = luaL_checkstring(L, 1);
const char* content = luaL_checklstring(L, 2, &size);
lua_pushnumber(L, lovrFilesystemWrite(path, content, size, 0));
lua_pushnumber(L, lovrFilesystemWrite(path, content, size, false));
return 1;
}