summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2017-08-07 20:32:28 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2017-08-07 20:32:28 (GMT)
commita069cf444c440f480be3a3312cac820461949399 (patch)
tree4c68f4bef8aaf4b6aea25df68437d47130ac74a4
parent2287408a3719bbae9f189b12d6fe7efa99225075 (diff)
downloadblt-a069cf444c440f480be3a3312cac820461949399.zip
blt-a069cf444c440f480be3a3312cac820461949399.tar.gz
blt-a069cf444c440f480be3a3312cac820461949399.tar.bz2
ruler format spec
-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);
}
}