diff options
Diffstat (limited to 'crawl-ref/source/viewgeom.cc')
-rw-r--r-- | crawl-ref/source/viewgeom.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/crawl-ref/source/viewgeom.cc b/crawl-ref/source/viewgeom.cc index 0ee155b3cc..7c2c2bd156 100644 --- a/crawl-ref/source/viewgeom.cc +++ b/crawl-ref/source/viewgeom.cc @@ -58,9 +58,6 @@ class _layout ASSERT( (msgp+msgsz - termp).x <= termsz.x ); ASSERT( (msgp+msgsz - termp).y <= termsz.y ); - // Don't stretch message all the way to the bottom-right - // character; it causes scrolling and badness. - ASSERT( (msgp+msgsz - termp) != termsz ); ASSERT( (mlistp+mlistsz-termp).x <= termsz.x ); ASSERT( (mlistp+mlistsz-termp).y <= termsz.y ); @@ -106,7 +103,7 @@ class _inline_layout : public _layout _increment(mlistsz.x, leftover_x(), MLIST_MAX_WIDTH); _increment(hud_gutter, leftover_x(), HUD_MAX_GUTTER); _increment(mlistsz.x, leftover_x(), INT_MAX); - msgsz.x = termsz.x-1; // Can't use last character. + msgsz.x = termsz.x; // y: View gets as much as it wants. // mlist tries to get at least its minimum. |