From 59fd0712fe1a070b7ddcec80314c9aa83687ba67 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Mon, 7 Apr 2014 23:01:26 +1000 Subject: TODO++ --- ClientHamr/GuiLua/skang.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ClientHamr/GuiLua/skang.lua') diff --git a/ClientHamr/GuiLua/skang.lua b/ClientHamr/GuiLua/skang.lua index 81e65af..655508a 100644 --- a/ClientHamr/GuiLua/skang.lua +++ b/ClientHamr/GuiLua/skang.lua @@ -199,6 +199,8 @@ scanArguments = function (args) if '--' == string.sub(v, 1, 2) then pre = '--'; v = string.sub(v, 3, -1) end if '-' == string.sub(v, 1, 1) then pre = '-'; v = string.sub(v, 2, -1) end if '+' == string.sub(v, 1, 1) then pre = '+'; v = string.sub(v, 2, -1) end + -- TODO - Make this the opposite of the directory separator for what ever platform we are running on. + -- Which Lua can't figure out I think. if '/' == string.sub(v, 1, 1) then pre = '/'; v = string.sub(v, 2, -1) end if '=' == string.sub(v, 1, 1) then pre = '='; v = string.sub(v, 2, -1) end if '&' == string.sub(v, 1, 1) then pre = '&'; v = string.sub(v, 2, -1) end -- cgit v1.1