summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stash.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2009-09-08 10:26:26 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2009-09-08 10:26:26 +0000
commit4d0788ea364602c8435b13892828dbd259450cae (patch)
tree1c384200bf5b027ae65e48aa4a697ddea7f5a40d /crawl-ref/source/stash.cc
parent49eed80f31350d41cd2fc67fe4cb9dbc58027995 (diff)
downloadcrawl-ref-4d0788ea364602c8435b13892828dbd259450cae.tar.gz
crawl-ref-4d0788ea364602c8435b13892828dbd259450cae.zip
[2854085] Qualify multiple matches in a stack with (+extra) instead of (n) in stash search listings. Still somewhat confusing.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10645 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/stash.cc')
-rw-r--r--crawl-ref/source/stash.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/stash.cc b/crawl-ref/source/stash.cc
index 011526c1a5..f795d2c1b0 100644
--- a/crawl-ref/source/stash.cc
+++ b/crawl-ref/source/stash.cc
@@ -1883,7 +1883,7 @@ bool StashTracker::display_search_results(
<< res.match;
if (res.matches > 1 && res.count > 1)
- matchtitle << " (" << res.matches << ")";
+ matchtitle << " (+" << (res.matches - 1) << ")";
MenuEntry *me = new MenuEntry(matchtitle.str(), MEL_ITEM, 1, hotkey);
me->data = &res;