summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/describe.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r--crawl-ref/source/describe.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc
index 809394b94f..d0ad01ac01 100644
--- a/crawl-ref/source/describe.cc
+++ b/crawl-ref/source/describe.cc
@@ -2856,7 +2856,8 @@ static int _piety_level()
static void _detailed_god_description(god_type which_god)
{
clrscr();
- int width = std::min(80, get_number_of_cols());
+
+ const int width = std::min(80, get_number_of_cols());
std::string godname = god_name(which_god, true);
int len = get_number_of_cols() - godname.length();