summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/describe.cc
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2007-09-22 03:12:44 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2007-09-22 03:12:44 +0000
commitcce90fadce5dca04e3000cf488e619975bddd8ae (patch)
tree1f86e22043d8faa497ddb512d4441bdb67090312 /crawl-ref/source/describe.cc
parent94c42a1d74076a4767ed7d3c1394adb813e817d7 (diff)
downloadcrawl-ref-cce90fadce5dca04e3000cf488e619975bddd8ae.tar.gz
crawl-ref-cce90fadce5dca04e3000cf488e619975bddd8ae.zip
Oops, forgot about database case insensitivity again.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2178 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r--crawl-ref/source/describe.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc
index c0d50a87e9..f6e1e51e30 100644
--- a/crawl-ref/source/describe.cc
+++ b/crawl-ref/source/describe.cc
@@ -3595,7 +3595,10 @@ void describe_monsters(monsters& mons)
// -peterb 4/14/07
description << getLongDescription(mons.name(DESC_PLAIN));
- unsigned char symbol = get_monster_data(mons.type)->showchar;
+ std::string symbol = "";
+ symbol += get_monster_data(mons.type)->showchar;
+ if (isupper(symbol[0]))
+ symbol = "cap-" + symbol;
std::string symbol_prefix = "__";
symbol_prefix += symbol;