diff SecureMenu.lua @ 29:15123d11fc64

Correct indentation
author contrebasse
date Thu, 28 Apr 2011 19:46:52 +0200
parents 4ea38bae4174
children 22fa64c9b2de
line wrap: on
line diff
--- a/SecureMenu.lua	Thu Apr 28 19:46:29 2011 +0200
+++ b/SecureMenu.lua	Thu Apr 28 19:46:52 2011 +0200
@@ -293,13 +293,13 @@
 	
 	-- Loop over the available recipes
 	for _,reagent in ipairs(A.data[itemID]) do
-			if A.data[itemID].spell then
-				-- Special spell
-				menuAddItem(A.data[itemID].spell,itemID,reagent,A.data[itemID].spellID)
-			else
-				-- Standard tradeskill spell UNTESTED
-				menuAddItem(A.craft,itemID,reagent)
-			end -- if
+		if A.data[itemID].spell then
+			-- Special spell
+			menuAddItem(A.data[itemID].spell,itemID,reagent,A.data[itemID].spellID)
+		else
+			-- Standard tradeskill spell UNTESTED
+			menuAddItem(A.craft,itemID,reagent)
+		end -- if
 	end -- for
 
 	MenuFrame:SetHeight(89 + numActiveEntries*(MENU_ENTRY_HEIGHT+2))