#1114: Ensure minimum height of last block in Fl_Help_View

This commit is contained in:
Matthias Melcher 2025-07-08 15:19:21 +02:00
parent d3dca07339
commit 2803f70f58

View File

@ -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_);