summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/value.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/value.h b/src/value.h
index ff80d8ab..9e8a2fd5 100644
--- a/src/value.h
+++ b/src/value.h
@@ -925,9 +925,7 @@ inline std::ostream& operator<<(std::ostream& out, const value_t& val) {
inline string value_context(const value_t& val) {
std::ostringstream buf;
- buf << std::right;
- buf.width(20);
- val.dump(buf);
+ val.print(buf, 20, 20, true);
return buf.str();
}