xlat changes, layout changes
[goodguy/history.git] / cinelerra-5.1 / cinelerra / swindow.C
index e88a9e1cb8c88f8165467d906586e376f55dc0aa..57b75a9997f75bef65c48d605799486f064ed2a4 100644 (file)
@@ -818,6 +818,10 @@ void SWindowGUI::save_spumux_data()
                *cp = 0;
                snprintf(ext,len,"-%s.udvd",track_title);
                FILE *fp = fopen(filename, "w");
+               if( !fp ) {
+                       eprintf(_("Unable to open %s:\n%m"), filename);
+                       continue;
+               }
                int64_t start = 0;
                for( Edit *edit=track->edits->first; edit; edit=edit->next ) {
                        SEdit *sedit = (SEdit *)edit;