From c91df967673883f7fadff293caba06f323cca530 Mon Sep 17 00:00:00 2001 From: Pixel Date: Tue, 24 Nov 2009 13:49:38 -0800 Subject: Fixing pcalls in lua-interface-light.lua --- lua-interface-light.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lua-interface-light.lua') diff --git a/lua-interface-light.lua b/lua-interface-light.lua index 78dc7bf..ae115f9 100644 --- a/lua-interface-light.lua +++ b/lua-interface-light.lua @@ -152,10 +152,10 @@ function lua_interface_light_main() if commandline then return true end if not okay then return false end - if not pcall(Archive(input_file_text.value)) then + if not pcall(Archive, input_file_text.value) then error(error_not_archive_locale[system_locale]) end - if not pcall(load "archive_main.lua") then + if not pcall(load, "archive_main.lua") then error(error_wrong_archive_locale[system_locale]) end if not type(archive_main) == "function" then -- cgit v1.2.3