From 00036797ff4a87871c5477f09499795676306b60 Mon Sep 17 00:00:00 2001 From: haranp Date: Wed, 22 Nov 2006 12:54:01 +0000 Subject: Goodbye, gold dropping. We wish thee well. If I misunderstood and this is still up for debate, my apologies and please revert. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@462 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/invent.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/invent.cc') diff --git a/crawl-ref/source/invent.cc b/crawl-ref/source/invent.cc index 437b01c4fc..f8545bb11c 100644 --- a/crawl-ref/source/invent.cc +++ b/crawl-ref/source/invent.cc @@ -619,7 +619,7 @@ std::vector prompt_invent_items( // Note: We handle any "special" character first, so that // it can be used to override the others. - if (other_valid_char != '\0' && keyin == other_valid_char) + if (other_valid_char != 0 && keyin == other_valid_char) { ret = PROMPT_GOT_SPECIAL; break; @@ -804,7 +804,7 @@ int prompt_invent_item( const char *prompt, // Note: We handle any "special" character first, so that // it can be used to override the others. - if (other_valid_char != '\0' && keyin == other_valid_char) + if (other_valid_char != 0 && keyin == other_valid_char) { ret = PROMPT_GOT_SPECIAL; break; -- cgit v1.2.3-54-g00ecf