From 51b949d637e7f13c86735677c1462ddf6816917e Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Fri, 30 Sep 2011 12:07:29 -0500 Subject: [PATCH] small edit to table.find as mentioned in issue 556 --- Themes/_fallback/Scripts/02 Utilities.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Themes/_fallback/Scripts/02 Utilities.lua b/Themes/_fallback/Scripts/02 Utilities.lua index 04d0311df2..d4eac0a372 100644 --- a/Themes/_fallback/Scripts/02 Utilities.lua +++ b/Themes/_fallback/Scripts/02 Utilities.lua @@ -135,7 +135,7 @@ end function table.find(t, sFind) for _, v in pairs(t) do if v == sFind then - return i + return _ end end return nil