From d396fa51455da67dd0b8f508754b89ae906fa75f Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 24 Feb 2009 14:53:33 -0400 Subject: Fixed an alignment bug in value context display --- src/value.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/value.h') 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(); } -- cgit v1.2.3