diff options
author | Stijn Buys <ingar@osirion.org> | 2013-11-10 01:44:21 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2013-11-10 01:44:21 +0000 |
commit | 1f67a3bb216aa5bd49c0c93a1f2868f34b7e623d (patch) | |
tree | 76b5d1af846a0e095181f473ba456e9285b7266b /src/client | |
parent | 553c7b9bf9b477544f28123eaeb2ea5714495086 (diff) |
Corrected a sorting bug in the reputation window.
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/reputationwindow.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/reputationwindow.cc b/src/client/reputationwindow.cc index 2d15319..804ab50 100644 --- a/src/client/reputationwindow.cc +++ b/src/client/reputationwindow.cc @@ -165,7 +165,7 @@ void ReputationWindow::refresh() listitem->set_info((*it)->faction()); std::ostringstream strsortkey; - strsortkey << std::setfill('0') << std::setw(2) << (*it)->reputation() + 100; + strsortkey << std::setfill('0') << std::setw(3) << roundf((*it)->reputation() + 100); listitem->set_sortkey(strsortkey.str().c_str()); ReputationBar *bar = new ReputationBar(listitem); |