Quantcast

DebugListAllWaypoints() was not printing the worldmap_icon.

Ludovicus [07-20-19 - 18:04]
DebugListAllWaypoints() was not printing the worldmap_icon.
Filename
TomTom.lua
diff --git a/TomTom.lua b/TomTom.lua
index 1517f66..9542c48 100755
--- a/TomTom.lua
+++ b/TomTom.lua
@@ -1078,7 +1078,7 @@ function TomTom:DebugListAllWaypoints()
             local ctxt = RoundCoords(wp[2], wp[3], 2)
             local desc = wp.title and wp.title or L["Unknown waypoint"]
             local indent = "   "
-            self:Printf(L["%s%s - %s %s %s"], indent, desc, ctxt, wp[1], (wp.minimap_icon or "*"), (wp.worldmap_icon or "*"))
+            self:Printf(L["%s%s - %s %s %s %s"], indent, desc, ctxt, wp[1], (wp.minimap_icon or "*"), (wp.worldmap_icon or "*"))
         end
     end
 end