diff --git a/src/Fl_Help_View.cxx b/src/Fl_Help_View.cxx index 3c1081d9b..811b13e68 100644 --- a/src/Fl_Help_View.cxx +++ b/src/Fl_Help_View.cxx @@ -1989,6 +1989,9 @@ void Fl_Help_View::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_);