Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2012-01-29 15:52:11 +0000
committerStijn Buys <ingar@osirion.org>2012-01-29 15:52:11 +0000
commit144b5123e3b7ef2e511e8906c1cfbcd33024a1fc (patch)
tree3be1680e1b688af89220919e479a9831f47c27d6
parent03064002bfbdbb10abe451d0f8dcfe7c6992e592 (diff)
Realign prices in the trade menu.
-rw-r--r--src/client/inventorylistview.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/inventorylistview.cc b/src/client/inventorylistview.cc
index ed3419d..77daba2 100644
--- a/src/client/inventorylistview.cc
+++ b/src/client/inventorylistview.cc
@@ -86,7 +86,7 @@ void InventoryListView::set_inventory(core::Inventory *inventory, core::InfoType
if (trader_item) {
std::ostringstream std_price;
std_price << trader_item->price() << " credits";
- str << aux::pad_left(std_price.str(), 14);
+ str << aux::pad_left(std_price.str(), 12);
}
if (trader_item) {
@@ -111,12 +111,12 @@ void InventoryListView::set_inventory(core::Inventory *inventory, core::InfoType
std::ostringstream std_price;
std_price << item->price() << " credits";
- str << aux::pad_left(std_price.str(), 14);
+ str << aux::pad_left(std_price.str(), 12);
} else {
std::ostringstream std_price;
std_price << item->price() << " credits";
- str << '\n' << aux::pad_left(std_price.str(), 24);
+ str << '\n' << aux::pad_left(std_price.str(), 22);
}