aboutsummaryrefslogtreecommitdiff
path: root/core/args.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/args.lua')
-rw-r--r--core/args.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/args.lua b/core/args.lua
index d145008d..c7027e0d 100644
--- a/core/args.lua
+++ b/core/args.lua
@@ -72,7 +72,7 @@ if WIN32 and #arg[0] > 0 then
end
-- For Mac, remove junk parameter if necessary.
-if MAC and arg[1] and arg[1]:find('^%-psn_0') then table.remove(arg, 1) end
+if OSX and arg[1] and arg[1]:find('^%-psn_0') then table.remove(arg, 1) end
-- Set _G._USERHOME.
local userhome = os.getenv(not WIN32 and 'HOME' or 'USERPROFILE')..'/.textadept'