Browse Source

neth: fix NameReg, pass the right number of arguments to boost::format

cl-refactor
caktux 10 years ago
parent
commit
aba6bd8d42
  1. 2
      neth/main.cpp

2
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);

Loading…
Cancel
Save