summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/invent.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/invent.cc')
-rw-r--r--crawl-ref/source/invent.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/invent.cc b/crawl-ref/source/invent.cc
index 834527fc5a..3c89d39f14 100644
--- a/crawl-ref/source/invent.cc
+++ b/crawl-ref/source/invent.cc
@@ -218,7 +218,7 @@ std::string InvEntry::get_text() const
if (Options.show_inventory_weights)
{
const int mass = item_mass(*item) * item->quantity;
- tstr << std::setw(get_number_of_cols() - tstr.str().length() - 1)
+ tstr << std::setw(get_number_of_cols() - tstr.str().length() - 2)
<< std::right
<< make_stringf("(%.1f aum)", BURDEN_TO_AUM * mass);
}