Fixed an alignment bug in value context display

This commit is contained in:
John Wiegley 2009-02-24 14:53:33 -04:00
parent cca6c204dd
commit d396fa5145

View file

@ -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();
}