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.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/invent.cc b/crawl-ref/source/invent.cc
index df108101d2..7ee1b3b064 100644
--- a/crawl-ref/source/invent.cc
+++ b/crawl-ref/source/invent.cc
@@ -739,8 +739,8 @@ void InvMenu::load_items(const std::vector<const item_def*> &mitems,
_get_class_hotkeys(i, glyphs);
if (!glyphs.empty())
{
- const std::string misc = "Miscellaneous";
- subtitle += std::string(misc.length()
+ const std::string str = "Magical Devices"; // longest string
+ subtitle += std::string(str.length()
- subtitle.length() + 1, ' ');
subtitle += "(select all with <w>";
for (unsigned int k = 0; k < glyphs.size(); ++k)