From cc858e062c1aae6902d2ca2c94139b863dee2494 Mon Sep 17 00:00:00 2001 From: bjorn Date: Thu, 26 Sep 2019 21:58:06 -0700 Subject: [PATCH] Don't mind me; --- src/api/l_filesystem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/l_filesystem.c b/src/api/l_filesystem.c index 4730a576..1ad4b9c2 100644 --- a/src/api/l_filesystem.c +++ b/src/api/l_filesystem.c @@ -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; }