Fix: Fl_Browser unexpected display of empty lines ("@." vs "") (#979)
This commit is contained in:
parent
0a6610c480
commit
a09d43eb40
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user