From 3bcea323e5041334350dbf55d45f68b849cfd486 Mon Sep 17 00:00:00 2001 From: Takehiro Iyatomi Date: Wed, 6 Feb 2013 17:03:43 +0900 Subject: [PATCH] fix broken compatibility for luajit 2.0.0 --- gui/support/filesystem.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gui/support/filesystem.lua b/gui/support/filesystem.lua index 8f7fe36..5eff955 100644 --- a/gui/support/filesystem.lua +++ b/gui/support/filesystem.lua @@ -37,8 +37,9 @@ local _M = {} function _M.pathJoin(...) local s = "" + local args = arg or {...} - for i, v in ipairs(arg) do + for i, v in ipairs(args) do s = s .. v .. "/" --MOAIFileSystem.getDirSeparator() end