summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemname.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-12-24 00:41:55 +0100
committerAdam Borowski <kilobyte@angband.pl>2012-12-27 15:54:52 +0100
commit20c7c20133d6101eeea09193fda4e8036c607565 (patch)
tree11bf0b8886f1c02caab45ed6187e8637c8daeea1 /crawl-ref/source/itemname.h
parentb7904db5ad04c762b8f338d943ecb9611602480d (diff)
downloadcrawl-ref-20c7c20133d6101eeea09193fda4e8036c607565.tar.gz
crawl-ref-20c7c20133d6101eeea09193fda4e8036c607565.zip
Unify menu_colour_item_prefix and filtering_item_prefix.
The only reason for this madness was so searching for "ident" doesn't find identified items.
Diffstat (limited to 'crawl-ref/source/itemname.h')
-rw-r--r--crawl-ref/source/itemname.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/itemname.h b/crawl-ref/source/itemname.h
index f40858ff6c..a2b74045fc 100644
--- a/crawl-ref/source/itemname.h
+++ b/crawl-ref/source/itemname.h
@@ -119,8 +119,7 @@ void set_ident_type(item_def &item, item_type_id_state_type setting,
void set_ident_type(object_class_type basetype, int subtype,
item_type_id_state_type setting, bool force = false);
-string menu_colour_item_prefix(const item_def &item, bool temp = true);
-string filtering_item_prefix(const item_def &item, bool temp = true);
+string item_prefix(const item_def &item, bool temp = true);
string get_menu_colour_prefix_tags(const item_def &item,
description_level_type desc);