Waypoints with no name are now displayed as "Unknown" - fixes ticket #1023
James D. Callahan III [07-01-10 - 04:56]
Waypoints with no name are now displayed as "Unknown" - fixes ticket #1023
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