From a069cf444c440f480be3a3312cac820461949399 Mon Sep 17 00:00:00 2001 From: William Joye Date: Mon, 7 Aug 2017 16:32:28 -0400 Subject: ruler format spec --- tksao/frame/ruler.C | 4 ++-- 1 file 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); } } -- cgit v0.12