diff options
-rw-r--r-- | crawl-ref/source/stash.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/stash.cc b/crawl-ref/source/stash.cc index 34d816657d..d9aa7e1a48 100644 --- a/crawl-ref/source/stash.cc +++ b/crawl-ref/source/stash.cc @@ -120,9 +120,9 @@ void describe_stash(int x, int y) Stash *s = ls->find_stash(x, y); if (s) { - std::string desc = "[Stash: " - + s->description() + "]"; - mpr(desc.c_str(), MSGCH_EXAMINE_FILTER); + const std::string desc = s->description(); + if (!desc.empty()) + mprf(MSGCH_EXAMINE_FILTER, "[Stash: %s]", desc.c_str()); } } } |