From e0ecd1fad5cd18dd866cb46d9b230e20cea53606 Mon Sep 17 00:00:00 2001 From: dolorous Date: Thu, 2 Oct 2008 17:01:22 +0000 Subject: Clarify god descriptions a bit. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7082 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/command.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'crawl-ref/source/command.cc') diff --git a/crawl-ref/source/command.cc b/crawl-ref/source/command.cc index bb062ae723..1884ae2303 100644 --- a/crawl-ref/source/command.cc +++ b/crawl-ref/source/command.cc @@ -1256,9 +1256,7 @@ static bool _do_description(std::string key, std::string footer = "") std::string prefix, suffix; - int width = get_number_of_cols(); - if (width > 80) - width = 80; + int width = std::min(80, get_number_of_cols()); god_type which_god = string_to_god(key.c_str()); if (which_god != GOD_NO_GOD) -- cgit v1.2.3-54-g00ecf