summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tutorial.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-17 21:13:31 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-17 21:13:31 +0000
commit5b888a167af42417cdf3f75e754fcbc7ae826107 (patch)
tree8b8607c01be3a1d2dbca857d54b534f716a89c26 /crawl-ref/source/tutorial.cc
parent3738559721d08c98bbf42b5debddee0cac63196b (diff)
downloadcrawl-ref-5b888a167af42417cdf3f75e754fcbc7ae826107.tar.gz
crawl-ref-5b888a167af42417cdf3f75e754fcbc7ae826107.zip
Fix [1974594]: tutorial item description going off the bottom of the screen.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9119 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/tutorial.cc')
-rw-r--r--crawl-ref/source/tutorial.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/tutorial.cc b/crawl-ref/source/tutorial.cc
index 464327d37e..18326f1689 100644
--- a/crawl-ref/source/tutorial.cc
+++ b/crawl-ref/source/tutorial.cc
@@ -3473,7 +3473,7 @@ void tutorial_inscription_info(bool autoinscribe, std::string prompt)
text << "<" << colour_to_str(channel_to_colour(MSGCH_TUTORIAL)) << ">";
bool longtext = false;
- if (!autoinscribe || wherey() <= get_number_of_lines() - 10)
+ if (wherey() <= get_number_of_lines() - (autoinscribe ? 10 : 8))
{
text << EOL
"Inscriptions are a powerful concept of Dungeon Crawl." EOL