summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-12-04 18:47:16 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-12-04 18:47:16 +0000
commit15b1a34950ceb8002fb3fe2f152ce6128a22782b (patch)
tree0439155a643df063403f6a931ecd48b88578f34d
parent703d0aea0efaac377a2270d1341b1cf533c9bd74 (diff)
downloadcrawl-ref-15b1a34950ceb8002fb3fe2f152ce6128a22782b.tar.gz
crawl-ref-15b1a34950ceb8002fb3fe2f152ce6128a22782b.zip
Fixed item name corruption with long item names (Haran).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.1.5@559 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/items.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/items.cc b/crawl-ref/source/items.cc
index 0a2dd2d9f2..f7734997d9 100644
--- a/crawl-ref/source/items.cc
+++ b/crawl-ref/source/items.cc
@@ -735,7 +735,7 @@ static void item_list_on_square( std::vector<const item_def*>& items,
*/
void item_check(char keyin)
{
- char item_show[50][50];
+ char item_show[50][ITEMNAME_SIZE];
char temp_quant[10];
int counter = 0;