summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Fl_Help_View.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Fl_Help_View.cxx b/src/Fl_Help_View.cxx
index dec38a6a8..da436a5f5 100644
--- a/src/Fl_Help_View.cxx
+++ b/src/Fl_Help_View.cxx
@@ -1663,6 +1663,8 @@ void Fl_Help_View::Impl::format() {
block->end = ptr;
size_ = yy + hh;
}
+ // Make sure that the last block will have the correct height.
+ if (hh > block->h) block->h = hh;
// printf("margins.depth_=%d\n", margins.depth_);