From 6adeb7f139cf8392e9ac26747d57cd128df6a88b Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Thu, 1 Jul 2010 00:56:01 -0400 Subject: [PATCH] Waypoints with no name are now displayed as "Unknown" - fixes ticket #1023 --- Waypoint.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Waypoint.lua b/Waypoint.lua index 935e2d9..f8d3f3c 100644 --- a/Waypoint.lua +++ b/Waypoint.lua @@ -481,7 +481,7 @@ function addon:SetupMap(single_recipe) -- ARLMiniMap.icon:SetAllPoints() for entry, spell_id in pairs(maplist) do - local name = string.format("%s (%s)", entry.name, recipe_list[spell_id].name) + local name = string.format("%s (%s)", entry.name or _G.UNKNOWN, recipe_list[spell_id].name) local x = entry.coord_x local y = entry.coord_y local location = entry.location -- 1.7.9.5