diff options
author | David Walter Seikel | 2014-04-07 23:01:26 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-04-07 23:01:26 +1000 |
commit | 59fd0712fe1a070b7ddcec80314c9aa83687ba67 (patch) | |
tree | 35ef3c9f3b2c0df132a7f577b73fb3d20a58d8a3 /ClientHamr/GuiLua | |
parent | Lots and lots of security / main loop notes and ideas. (diff) | |
download | SledjHamr-59fd0712fe1a070b7ddcec80314c9aa83687ba67.zip SledjHamr-59fd0712fe1a070b7ddcec80314c9aa83687ba67.tar.gz SledjHamr-59fd0712fe1a070b7ddcec80314c9aa83687ba67.tar.bz2 SledjHamr-59fd0712fe1a070b7ddcec80314c9aa83687ba67.tar.xz |
TODO++
Diffstat (limited to 'ClientHamr/GuiLua')
-rw-r--r-- | ClientHamr/GuiLua/skang.lua | 2 |
1 files changed, 2 insertions, 0 deletions
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) | |||
199 | if '--' == string.sub(v, 1, 2) then pre = '--'; v = string.sub(v, 3, -1) end | 199 | if '--' == string.sub(v, 1, 2) then pre = '--'; v = string.sub(v, 3, -1) end |
200 | if '-' == string.sub(v, 1, 1) then pre = '-'; v = string.sub(v, 2, -1) end | 200 | if '-' == string.sub(v, 1, 1) then pre = '-'; v = string.sub(v, 2, -1) end |
201 | if '+' == string.sub(v, 1, 1) then pre = '+'; v = string.sub(v, 2, -1) end | 201 | if '+' == string.sub(v, 1, 1) then pre = '+'; v = string.sub(v, 2, -1) end |
202 | -- TODO - Make this the opposite of the directory separator for what ever platform we are running on. | ||
203 | -- Which Lua can't figure out I think. | ||
202 | if '/' == string.sub(v, 1, 1) then pre = '/'; v = string.sub(v, 2, -1) end | 204 | if '/' == string.sub(v, 1, 1) then pre = '/'; v = string.sub(v, 2, -1) end |
203 | if '=' == string.sub(v, 1, 1) then pre = '='; v = string.sub(v, 2, -1) end | 205 | if '=' == string.sub(v, 1, 1) then pre = '='; v = string.sub(v, 2, -1) end |
204 | if '&' == string.sub(v, 1, 1) then pre = '&'; v = string.sub(v, 2, -1) end | 206 | if '&' == string.sub(v, 1, 1) then pre = '&'; v = string.sub(v, 2, -1) end |