Quantcast

In Scanner.lua - renamed SortRecipeList() to SortRecipesByID() since Frame.lua has a function by that name which works differently.

James D. Callahan III [07-09-10 - 22:59]
In Scanner.lua - renamed SortRecipeList() to SortRecipesByID() since Frame.lua has a function by that name which works differently.
Filename
Scanner.lua
diff --git a/Scanner.lua b/Scanner.lua
index 9945d50..40259b1 100644
--- a/Scanner.lua
+++ b/Scanner.lua
@@ -842,7 +842,7 @@ do
 		return reca.spell_id < recb.spell_id
 	end

-	local function SortRecipeList()
+	local function SortRecipesByID()
 		local sorted_recipes = addon.sorted_recipes
 		table.wipe(sorted_recipes)

@@ -872,7 +872,7 @@ do
 				recipe_list[i] = master_list[i]
 			end
 		end
-		SortRecipeList()
+		SortRecipesByID()
 		table.wipe(output)

 		-- Parse the entire recipe database
@@ -1043,7 +1043,7 @@ do
 				recipe_list[i] = master_list[i]
 			end
 		end
-		SortRecipeList()
+		SortRecipesByID()
 		table.wipe(output)

 		for index, id in ipairs(addon.sorted_recipes) do