summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/invent.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/invent.h')
-rw-r--r--crawl-ref/source/invent.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/invent.h b/crawl-ref/source/invent.h
index 46b30a33c2..74386687f0 100644
--- a/crawl-ref/source/invent.h
+++ b/crawl-ref/source/invent.h
@@ -89,7 +89,8 @@ public:
virtual int highlight_colour() const
{
return menu_colour(get_text(),
- menu_colour_item_prefix( *( (item_def*) item) ) );
+ menu_colour_item_prefix( *( (item_def*) item) ),
+ tag );
}
@@ -108,7 +109,7 @@ class InvMenu : public Menu
{
public:
InvMenu(int mflags = MF_MULTISELECT)
- : Menu(mflags), type(MT_INVLIST), pre_select(NULL),
+ : Menu(mflags, "inventory"), type(MT_INVLIST), pre_select(NULL),
title_annotate(NULL)
{
}