X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fnew.C;h=de417e1d6cdb8a6fe647888ca629a04990cec672;hp=e7df67b7b99211930509d500fa4cef53dbc81dba;hb=976d56536456148f6d14a2c12630c20e367abbe1;hpb=875ae826327bf25abdaffe1db339aabd622addc8 diff --git a/cinelerra-5.1/cinelerra/new.C b/cinelerra-5.1/cinelerra/new.C index e7df67b7..de417e1d 100644 --- a/cinelerra-5.1/cinelerra/new.C +++ b/cinelerra-5.1/cinelerra/new.C @@ -202,7 +202,7 @@ BC_Window* NewThread::new_gui() void NewThread::handle_done_event(int result) { - if( !result ) { + if( !result && nwindow->folder && nwindow->name ) { const char *project_folder = nwindow->folder->get_text(); const char *project_name = nwindow->name->get_text(); if( project_folder[0] && project_name[0] ) {