diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-12-24 00:41:55 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-12-27 15:54:52 +0100 |
commit | 20c7c20133d6101eeea09193fda4e8036c607565 (patch) | |
tree | 11bf0b8886f1c02caab45ed6187e8637c8daeea1 /crawl-ref/source/showsymb.cc | |
parent | b7904db5ad04c762b8f338d943ecb9611602480d (diff) | |
download | crawl-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/showsymb.cc')
-rw-r--r-- | crawl-ref/source/showsymb.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/showsymb.cc b/crawl-ref/source/showsymb.cc index e5ed3169ec..aee7fb5224 100644 --- a/crawl-ref/source/showsymb.cc +++ b/crawl-ref/source/showsymb.cc @@ -213,8 +213,7 @@ static cglyph_t _get_item_override(const item_def &item) return g; string name = stash_annotate_item(STASH_LUA_SEARCH_ANNOTATE, &item) - + " {" + filtering_item_prefix(item, false) + "} " - + item.name(DESC_PLAIN); + + " {" + item_prefix(item, false) + "} " + item.name(DESC_PLAIN); { // Check the cache... |