clip fixes, ladspa build fixes
[goodguy/history.git] / cinelerra-5.1 / guicast / bclistbox.C
index 960226f8bfffc43116fb4134706efaef1555186b..882c378be96f2bab80cb01c1b700aeda152b5706 100644 (file)
@@ -1061,7 +1061,7 @@ int BC_ListBox::get_text_w(BC_ListBoxItem *item)
 int BC_ListBox::get_text_h(BC_ListBoxItem *item)
 {
        int h = item->get_text_h();
-       if( h < 0 ) item->set_text_h(h = get_text_height(MEDIUMFONT));
+       if( h < 0 ) item->set_text_h(h = get_text_height(MEDIUMFONT, item->get_text()));
        return h;
 }