Quantcast

Fixed a nil index error.

pschifferer [11-07-09 - 19:51]
Fixed a nil index error.
Filename
CauldronMain.lua
Locale/Cauldron-enUS.lua
diff --git a/CauldronMain.lua b/CauldronMain.lua
index 5657b38..c2ef6f7 100644
--- a/CauldronMain.lua
+++ b/CauldronMain.lua
@@ -959,6 +959,7 @@ end
 function Cauldron:DisplayVersion()
 	self:Print(L["Version "],Cauldron.version);
 	self:Print(L["Date: "],Cauldron.date);
+	self:Print(L["Oh. Smells like barbecued dog hair."]);
 end

 ----------------------------------------------------------------
@@ -1058,7 +1059,6 @@ function Cauldron:AddToTooltip(tooltip, id)
 				tooltip:AddDoubleLine(levelInfo, colorStr..skillInfo.name.."|r");
 			end
 		end
-		tooltip:AddLine("|r"..levelInfo.."|r");
 	end
 end

diff --git a/Locale/Cauldron-enUS.lua b/Locale/Cauldron-enUS.lua
index f32aec4..6765316 100644
--- a/Locale/Cauldron-enUS.lua
+++ b/Locale/Cauldron-enUS.lua
@@ -140,6 +140,8 @@ L["Needed for favorites:"] = true
 L["Needed for %1$d skills for leveling"] = true
 L["Needed for leveling:"] = true

+L["Oh. Smells like barbecued dog hair."] = true
+
 -- error messages
 L["Crafting %1$s requires the %2$s skill."] = true