summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-01-20 20:55:12 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-01-20 20:55:12 -0400
commitc8262e9314645268752b58032a5f3bde3d05d021 (patch)
tree945b601be94c9022ee04f731820820c7fe5269b1
parent6a64e44e648f25402aa470057a516776e3f0dcd8 (diff)
downloadfork-ledger-c8262e9314645268752b58032a5f3bde3d05d021.tar.gz
fork-ledger-c8262e9314645268752b58032a5f3bde3d05d021.tar.bz2
fork-ledger-c8262e9314645268752b58032a5f3bde3d05d021.zip
Correctly output space if %2.2X is used.
-rw-r--r--format.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/format.cc b/format.cc
index cb890926..e7cdc10a 100644
--- a/format.cc
+++ b/format.cc
@@ -615,6 +615,9 @@ void format_t::format(std::ostream& out_str, const details_t& details) const
case transaction_t::PENDING:
out << "! ";
break;
+ default:
+ out << "";
+ break;
}
}
break;
@@ -630,6 +633,9 @@ void format_t::format(std::ostream& out_str, const details_t& details) const
case transaction_t::PENDING:
out << "! ";
break;
+ default:
+ out << "";
+ break;
}
}
break;