summaryrefslogtreecommitdiffstats
path: root/tksao/frame/ruler.C
diff options
context:
space:
mode:
Diffstat (limited to 'tksao/frame/ruler.C')
-rw-r--r--tksao/frame/ruler.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/tksao/frame/ruler.C b/tksao/frame/ruler.C
index 6bba9de..b82ea8f 100644
--- a/tksao/frame/ruler.C
+++ b/tksao/frame/ruler.C
@@ -527,9 +527,9 @@ void Ruler::list(ostream& str, Coord::CoordSystem sys, Coord::SkyFrame sky,
coord.listCoordSystem(str, coordSystem, skyFrame, ptr);
str << ' ';
coord.listDistSystem(str, distSystem, distFormat, ptr);
-
if (*distSpec)
- str << " format=" << distSpec;
+ str << " format={" << distSpec << "}";
+
listProperties(str, 0);
}
}