Quantcast

FUCK BLIZZARD PIECES OF SHIT (ps fixed a localization bug)

ackis [10-22-08 - 01:03]
FUCK BLIZZARD PIECES OF SHIT (ps fixed a localization bug)
Filename
ARLConfig.lua
ARLFrame.lua
diff --git a/ARLConfig.lua b/ARLConfig.lua
index e285270..c936381 100644
--- a/ARLConfig.lua
+++ b/ARLConfig.lua
@@ -26,6 +26,7 @@ local AceConfigDialog 	= LibStub("AceConfigDialog-3.0")
 local modularOptions = {}
 local nagrandfac = BFAC["Kurenai"] .. "\\" .. BFAC["The Mag'har"]
 local hellfirefac = BFAC["Honor Hold"] .. "\\" .. BFAC["Thrallmar"]
+local addonversion = GetAddOnMetadata("AckisRecipeList", "Version")

 -- Description: Function which provides "profiles" options table
 -- Expected result: modularOptions extended with Ace3 profiles options
@@ -974,7 +975,7 @@ local function fullOptions()
 						version = {
 							order	= 11,
 							type	= "description",
-							name	= L["Version"] .. addon.addonversion .. "\n",
+							name	= L["Version"] .. addonversion .. "\n",
 						},
 						run = {
 							order	= 12,
diff --git a/ARLFrame.lua b/ARLFrame.lua
index cab38a8..67a5607 100644
--- a/ARLFrame.lua
+++ b/ARLFrame.lua
@@ -135,7 +135,8 @@ function ReDisplay( )
 		pbMax = playerData.totalRecipes
 	-- We're removing filtered recipes from the final count
 	else
-		pbMax = playerData.totalRecipes - (playerData.filteredRecipes - playerData.foundRecipes)
+		pbMax = playerData.totalRecipes - (playerData.filteredRecipes + playerData.foundRecipes)
+		--pbMax = playerData.foundRecipes + (playerData.totalRecipes - playerData.filteredRecipes)
 	end

 	ARL_ProgressBar:SetMinMaxValues( pbMin, pbMax)