diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-05-24 10:03:37 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-05-24 10:03:37 +0200 |
| commit | a09d43eb404fd864b7b76660774434ea54b720e8 (patch) | |
| tree | 19a86cb697094a17bfc4d6b706ab8d9eeccd3fb0 /src/Fl_Browser.cxx | |
| parent | 0a6610c480289a7cb0ecc89ce0c4447180d71069 (diff) | |
Fix: Fl_Browser unexpected display of empty lines ("@." vs "") (#979)
Diffstat (limited to 'src/Fl_Browser.cxx')
| -rw-r--r-- | src/Fl_Browser.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Browser.cxx b/src/Fl_Browser.cxx index 09f9c2d1c..46546fb66 100644 --- a/src/Fl_Browser.cxx +++ b/src/Fl_Browser.cxx @@ -396,7 +396,7 @@ int Fl_Browser::item_height(void *item) const { char* ptr = str; if (ptr && *i++) str = strchr(str, column_char()); else str = NULL; - if((!str && *ptr) || (str && ptr < str)) { + if((!str && *ptr) || (str && ptr < str) || hmax == 2) { fl_font(font, tsize); int hh = fl_height(); if (hh > hmax) hmax = hh; } |
