aboutsummaryrefslogtreecommitdiffhomepage
path: root/core/args.lua
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2010-10-28 17:52:35 -0400
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2010-10-28 17:52:35 -0400
commitef27dd85a00687a8b4a21b56a6ea9170b1c146b5 (patch)
tree6ccfc025cbcf2a1b244880984d4ee74e1bb4998a /core/args.lua
parent0ebbe321af357655d6833f9ca0792b3e212e57f8 (diff)
Rename MAC variable in to OSX in Lua, __OSX__ in C.
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'