X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Ftitler%2Ftitlewindow.C;h=1a537ba67a4bb378d4efd888696ecb3832a9aaed;hb=21c2e6b36d6a96c2f662a89459d607b5a387f4eb;hp=698edb26575146c2e01e5ec4336f537d39f4c0b0;hpb=5a1b2bb96f2bd6b7ef4f8031763683726c02219d;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));