From 1f67a3bb216aa5bd49c0c93a1f2868f34b7e623d Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 10 Nov 2013 01:44:21 +0000 Subject: Corrected a sorting bug in the reputation window. --- src/client/reputationwindow.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3