From 5b888a167af42417cdf3f75e754fcbc7ae826107 Mon Sep 17 00:00:00 2001 From: haranp Date: Tue, 17 Feb 2009 21:13:31 +0000 Subject: 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 --- crawl-ref/source/tutorial.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/tutorial.cc') 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 -- cgit v1.2.3-54-g00ecf