| … | … | @@ -169,7 +169,7 @@ bool BoolValue::operator==(const Value& other) const |
| 169 | 169 | std::string BoolValue::raw_hex_string() const |
| 170 | 170 | { |
| 171 | 171 | // Print in hexadecimal |
| 172 | | std::string rv = " #x"; |
| 172 | std::string rv = "#x"; |
| 173 | 173 | |
| 174 | 174 | // The native storage format used above is big endian, in that |
| 175 | 175 | // bit zero is the left-most bit, bit one is to the right of that, |
| … | … | @@ -187,7 +187,6 @@ std::string BoolValue::raw_hex_string() const |
| 187 | 187 | snprintf(buf, sizeof(buf), "%016lx", word); |
| 188 | 188 | rv += buf; |
| 189 | 189 | } |
| 190 | | rv += ")"; |
| 191 | 190 | return rv; |
| 192 | 191 | } |
| 193 | 192 | |
| … | … | @@ -203,10 +202,7 @@ std::string BoolValue::raw_hex_string() const |
| 203 | 202 | |
| 204 | 203 | // Are we done yet? |
| 205 | 204 | if (1 == word_count) |
| 206 | | { |
| 207 | | rv += ")"; |
| 208 | 205 | return rv; |
| 209 | | } |
| 210 | 206 | |
| 211 | 207 | // Middle words are spliced from low bits of previous |
| 212 | 208 | // and high bits of current. |
| … | … | @@ -247,7 +243,7 @@ std::string BoolValue::to_string(const std::string& indent, Type t) const |
| 247 | 243 | } |
| 248 | 244 | } |
| 249 | 245 | else |
| 250 | | rv += raw_hex_string(); |
| 246 | rv += " " + raw_hex_string(); |
| 251 | 247 | }); |
| 252 | 248 | |
| 253 | 249 | rv += ")"; |