summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/viewgeom.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-12-03 08:48:23 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-12-03 09:02:40 +0100
commit6858bd1384348612321c7ec52dd6173358512516 (patch)
treed14c19222f58977fa8f798e2ce78a01e3c882b85 /crawl-ref/source/viewgeom.cc
parent7208f8f4b2d780c7c93392b81da2bc07c1a164ee (diff)
downloadcrawl-ref-6858bd1384348612321c7ec52dd6173358512516.tar.gz
crawl-ref-6858bd1384348612321c7ec52dd6173358512516.zip
Reduce minimum message window height to 5.
This is FR 2814313. This required adding a new option msg_min_height defaulting to 6 to keep the same default layout. I don't believe anything requires a message window of more than 5 lines (acquirement is fine with that).
Diffstat (limited to 'crawl-ref/source/viewgeom.cc')
-rw-r--r--crawl-ref/source/viewgeom.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/viewgeom.cc b/crawl-ref/source/viewgeom.cc
index 784a402bcc..7eb1db1e5e 100644
--- a/crawl-ref/source/viewgeom.cc
+++ b/crawl-ref/source/viewgeom.cc
@@ -18,7 +18,6 @@
// define VIEW_MAX_WIDTH use Options.view_max_width
#define HUD_WIDTH 42
#define HUD_HEIGHT 12
-// #define MSG_MIN_HEIGHT defined elsewhere
#define MSG_MAX_HEIGHT Options.msg_max_height
#define MLIST_MIN_HEIGHT Options.mlist_min_height
#define MLIST_MIN_WIDTH 25 // non-inline layout only
@@ -40,7 +39,7 @@ class _layout
termp(1,1), termsz(termsz_),
viewp(-1,-1), viewsz(VIEW_MIN_WIDTH, VIEW_MIN_HEIGHT),
hudp(-1,-1), hudsz(hudsz_),
- msgp(-1,-1), msgsz(0, MSG_MIN_HEIGHT),
+ msgp(-1,-1), msgsz(0, Options.msg_min_height),
mlistp(-1,-1), mlistsz(MLIST_MIN_WIDTH, 0),
hud_gutter(HUD_MIN_GUTTER),
valid(false) {}