summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/invent.cc
diff options
context:
space:
mode:
authorChris Oelmueller <chris.oelmueller@gmail.com>2013-11-28 09:25:11 +0100
committerNeil Moore <neil@s-z.org>2013-11-28 11:16:37 -0500
commit0a690018ae4cbe4496321a284f89c006c62ac3b4 (patch)
tree6cea2f72f76f546b0d9e33f6f7eaed1373fa93e0 /crawl-ref/source/invent.cc
parent22d9e7391da8ea0e9169689401dc4cae81694da0 (diff)
downloadcrawl-ref-0a690018ae4cbe4496321a284f89c006c62ac3b4.tar.gz
crawl-ref-0a690018ae4cbe4496321a284f89c006c62ac3b4.zip
Remove hardcoded ENDOFPACK from a message
Diffstat (limited to 'crawl-ref/source/invent.cc')
-rw-r--r--crawl-ref/source/invent.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/invent.cc b/crawl-ref/source/invent.cc
index 23f6e6ff4a..fb119ada8e 100644
--- a/crawl-ref/source/invent.cc
+++ b/crawl-ref/source/invent.cc
@@ -408,11 +408,12 @@ void InvMenu::set_title(const string &s)
const int cap = carrying_capacity(BS_UNENCUMBERED);
stitle = make_stringf(
- "Inventory: %.0f/%.0f aum (%d%%, %d/52 slots)",
+ "Inventory: %.0f/%.0f aum (%d%%, %d/%d slots)",
BURDEN_TO_AUM * you.burden,
BURDEN_TO_AUM * cap,
(you.burden * 100) / cap,
- inv_count());
+ inv_count(),
+ ENDOFPACK);
string prompt = "(_ for help)";
stitle = stitle + string(max(0, get_number_of_cols() - strwidth(stitle)