From 6e7b87d1ff876f045ec90814abd0f31b563d1183 Mon Sep 17 00:00:00 2001 From: Ackis Date: Tue, 25 Nov 2008 21:11:59 +0000 Subject: [PATCH] Move the tolower back to the other function since it wasn't working. --- ARLFrame.lua | 2 -- AckisRecipeList.lua | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ARLFrame.lua b/ARLFrame.lua index 4648640..c4ed730 100644 --- a/ARLFrame.lua +++ b/ARLFrame.lua @@ -24,7 +24,6 @@ local L = LibStub("AceLocale-3.0"):GetLocale(MODNAME) local string = string local ipairs = ipairs local tinsert = tinsert -local tolower = string.lower local sformat = string.format -- local variables for this file. Must be used by multiple functions to be listed here @@ -3364,7 +3363,6 @@ function addon:CreateFrame( if (searchtext ~= "") then ARL_LastSearchedText = searchtext - searchtext = tolower(searchtext) addon:SearchRecipeDB(recipeDB, searchtext) initDisplayStrings() diff --git a/AckisRecipeList.lua b/AckisRecipeList.lua index 6857f0f..0145c75 100644 --- a/AckisRecipeList.lua +++ b/AckisRecipeList.lua @@ -2065,6 +2065,8 @@ function addon:SearchRecipeDB(RecipeDB, searchstring) if (searchstring) then + searchstring = tolower(searchstring) + -- Go through the entire database for SpellID in pairs(RecipeDB) do -- 1.7.9.5