X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Ftitler%2Ftitlewindow.C;h=1a537ba67a4bb378d4efd888696ecb3832a9aaed;hb=79ab99f7d6cc503f9d8a9a9618129c9e4d3842c1;hp=698edb26575146c2e01e5ec4336f537d39f4c0b0;hpb=318256a48938064b695268d03396977739ef4724;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/titler/titlewindow.C b/cinelerra-5.1/plugins/titler/titlewindow.C index 698edb26..1a537ba6 100644 --- a/cinelerra-5.1/plugins/titler/titlewindow.C +++ b/cinelerra-5.1/plugins/titler/titlewindow.C @@ -245,19 +245,19 @@ void TitleWindow::create_objects() add_tool(italic = new TitleItalic(client, this, x, y + 20)); int w1 = italic->get_w(); add_tool(bold = new TitleBold(client, this, x, y + 50)); - if( bold->get_w() > w1 ) w1 = bold->get_w(); + if( bold->get_w() > w1 ) w1 = bold->get_w(); #ifdef USE_OUTLINE add_tool(stroke = new TitleStroke(client, this, x, y + 80)); - if( stroke->get_w() > w1 ) w1 = stroke->get_w(); + if( stroke->get_w() > w1 ) w1 = stroke->get_w(); #endif x += w1 + 10; add_tool(justify_title = new BC_Title(x, y, _("Justify:"))); add_tool(left = new TitleLeft(client, this, x, y + 20)); w1 = left->get_w(); add_tool(center = new TitleCenter(client, this, x, y + 50)); - if( center->get_w() > w1 ) w1 = center->get_w(); + if( center->get_w() > w1 ) w1 = center->get_w(); add_tool(right = new TitleRight(client, this, x, y + 80)); - if( right->get_w() > w1 ) w1 = right->get_w(); + if( right->get_w() > w1 ) w1 = right->get_w(); x += w1 + 10; add_tool(top = new TitleTop(client, this, x, y + 20));