From 251ce8f458b32ffc45c73a0f55abc69eef5d20d9 Mon Sep 17 00:00:00 2001 From: ackis Date: Fri, 13 Feb 2009 23:27:35 +0000 Subject: [PATCH] I think I fixed the bug where you get the omg why aren't there recipes to display message?!?! --- ARLFrame.lua | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/ARLFrame.lua b/ARLFrame.lua index 3ab5b7f..6d091b3 100644 --- a/ARLFrame.lua +++ b/ARLFrame.lua @@ -972,20 +972,18 @@ local function RecipeList_Update() elseif (playerData.recipes_known == playerData.recipes_total) then StaticPopup_Show("ARL_ALLKNOWN") -- Our filters are actually filtering something - elseif ((playerData.recipes_total_filtered - playerData.recipes_known_filtered) ~= 0) then + elseif ((playerData.recipes_total_filtered - playerData.recipes_known_filtered) == 0) then StaticPopup_Show("ARL_ALLFILTERED") -- Our exclusion list is preventing something from being displayed elseif (playerData.excluded_recipes_unknown ~= 0) then StaticPopup_Show("ARL_ALLEXCLUDED") else - --[===[@debug@ + addon:Print(L["NO_DISPLAY"]) addon:Print("DEBUG: recipes_total: " .. playerData.recipes_total) addon:Print("DEBUG: recipes_known: " .. playerData.recipes_known) addon:Print("DEBUG: recipes_total_filtered: " .. playerData.recipes_total_filtered) addon:Print("DEBUG: recipes_known_filtered: " .. playerData.recipes_known_filtered) - addon:Print("DEBUG: excluded_recipes_unknown: " .. playerData.excluded_recipes_unknown) - --@end-debug@]===] - addon:Print(L["NO_DISPLAY"]) + addon:Print("DEBUG: excluded_recipes_unknown: " .. playerData.excluded_recipes_unknown) end end -- 1.7.9.5