From 7cda66719610d93b199676c1dc3c26d4e694b9e8 Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Fri, 4 Mar 2011 01:13:23 -0600 Subject: [PATCH] Replaced a concatenation inside a for loop with a format() call. --- Waypoint.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Waypoint.lua b/Waypoint.lua index dac875f..c8ec3b3 100644 --- a/Waypoint.lua +++ b/Waypoint.lua @@ -496,7 +496,7 @@ function addon:AddWaypoint(recipe_id, acquire_id, location_id, npc_id) continent = info.continent x = info.x y = info.y - name = name .. " (" .. location .. ")" + name = ("%s (%s)"):format(name, location) else self:Debug("No continent/zone map match for ID %d. Location: %s.", spell_id, location) end -- 1.7.9.5