From aba6bd8d424c485c9b2f5a2439164ecb76e7c756 Mon Sep 17 00:00:00 2001 From: caktux Date: Mon, 28 Jul 2014 22:12:36 -0400 Subject: [PATCH] neth: fix NameReg, pass the right number of arguments to boost::format --- neth/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/neth/main.cpp b/neth/main.cpp index 608c9a1a1..8d36390ca 100644 --- a/neth/main.cpp +++ b/neth/main.cpp @@ -898,6 +898,7 @@ int main(int argc, char** argv) { auto s = boost::format("%1%%2% : %3% [%4%]") % toString(i) % + pretty(i, c.postState()) % toString(formatBalance(c.balanceAt(i, 0))) % toString((unsigned)c.countAt(i, 0)); mvwaddnstr(contractswin, cc++, x, s.str().c_str(), qwidth); @@ -909,6 +910,7 @@ int main(int argc, char** argv) { auto s = boost::format("%1%%2% : %3% [%4%]") % toString(i) % + pretty(i, c.postState()) % toString(formatBalance(c.balanceAt(i, 0))) % toString((unsigned)c.countAt(i, 0)); mvwaddnstr(addswin, y++, x, s.str().c_str(), width / 2 - 4);