X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fguicast%2Fbctoggle.C;h=01832bd47d5a4ee37f2ce527ada1c1530dca175d;hb=e8453fdab4d5ed7b384279a5b37c92010ac13295;hp=67af31ec4888534dd4b2c6332389b212e377938a;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/guicast/bctoggle.C b/cinelerra-5.1/guicast/bctoggle.C index 67af31ec..01832bd4 100644 --- a/cinelerra-5.1/guicast/bctoggle.C +++ b/cinelerra-5.1/guicast/bctoggle.C @@ -97,7 +97,7 @@ void BC_Toggle::calculate_extents(BC_WindowBase *gui, if( caption ) { *text_w = gui->get_text_width(font, caption); - *text_h = gui->get_text_height(font); + *text_h = gui->get_text_height(font, caption); if( resources->toggle_highlight_bg ) { *text_w += resources->toggle_text_margin * 2;