Index: lily/duration.cc |
diff --git a/lily/duration.cc b/lily/duration.cc |
index bc75c6019225d4de6ea1bb346dd89e52467f0d0a..a2374e5c3506b7169a60b78db4f6b2a41973fc03 100644 |
--- a/lily/duration.cc |
+++ b/lily/duration.cc |
@@ -133,11 +133,12 @@ Duration::to_string () const |
string s; |
if (durlog_ < 0) |
- s = "log = " + ::to_string (durlog_); |
+ s = "log = " + std::to_string (durlog_); |
else |
- s = ::to_string (1 << durlog_); |
+ s = std::to_string (1 << durlog_); |
- s += ::to_string ('.', dots_); |
+ if (dots_ > 0) |
+ s += string (dots_, '.'); |
if (factor_ != Moment (Rational (1, 1))) |
s += "*" + factor_.to_string (); |
return s; |