aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-02-23 03:30:04 +1000
committerDavid Walter Seikel2012-02-23 03:30:04 +1000
commite4b9fa71c76ea96483015a5182436792a283bdb6 (patch)
tree629f00e86564c0bcb30b95ebfa4c22c18c255fd5
parentImplement llSubStringIndex(). (diff)
downloadSledjHamr-e4b9fa71c76ea96483015a5182436792a283bdb6.zip
SledjHamr-e4b9fa71c76ea96483015a5182436792a283bdb6.tar.gz
SledjHamr-e4b9fa71c76ea96483015a5182436792a283bdb6.tar.bz2
SledjHamr-e4b9fa71c76ea96483015a5182436792a283bdb6.tar.xz
White space++.
-rw-r--r--LuaSL/src/LSL.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/LuaSL/src/LSL.lua b/LuaSL/src/LSL.lua
index 3ca31a8..826cbe3 100644
--- a/LuaSL/src/LSL.lua
+++ b/LuaSL/src/LSL.lua
@@ -612,6 +612,7 @@ end
612 612
613function --[[integer]] LSL.llSubStringIndex(--[[string]] text, --[[string]] sub) 613function --[[integer]] LSL.llSubStringIndex(--[[string]] text, --[[string]] sub)
614 local start, End = string.find(text, sub, 1, true) 614 local start, End = string.find(text, sub, 1, true)
615
615 if nil == start then return -1 else return start - 1 end 616 if nil == start then return -1 else return start - 1 end
616end 617end
617 618