X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fpluginclient.C;fp=cinelerra-5.1%2Fcinelerra%2Fpluginclient.C;h=03e8c3f1e642f43487950ef60b1f213e29a95262;hp=bc6ca8eb9e191841b4ecb4952e1edf96fb3370d8;hb=8d1431081df60da0719db2c77e4c56830521c7e8;hpb=ea0dfe3cd57bb60ef824cd0d3512fcd251020c76 diff --git a/cinelerra-5.1/cinelerra/pluginclient.C b/cinelerra-5.1/cinelerra/pluginclient.C index bc6ca8eb..03e8c3f1 100644 --- a/cinelerra-5.1/cinelerra/pluginclient.C +++ b/cinelerra-5.1/cinelerra/pluginclient.C @@ -337,14 +337,8 @@ int PluginClient::show_gui() thread->start(); thread->init_complete->lock("PluginClient::show_gui"); // Must wait before sending any hide_gui - if(thread->window) - { - thread->window->init_wait(); - } - else - { - return 1; - } + if( !thread->window ) return 1; + thread->window->init_wait(); return 0; }