add 1:1 convert, add es.po: thx sergio, cwdw zoom tweak, add done beep pots, bd forma...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / clippopup.C
index ab7efaf5b7c4a11c91ff08fdbc9c826e292a2bb1..c9151e67b03d8516b446f4a2aeef821cb0cc1c67 100644 (file)
@@ -344,8 +344,7 @@ ClipPopupDelete::~ClipPopupDelete()
 int ClipPopupDelete::handle_event()
 {
        popup->gui->unlock_window();
-       mwindow->remove_assets_from_project(1, 1,
-               mwindow->session->drag_assets,
+       mwindow->remove_assets_from_project(1, 1, 0, 0,
                mwindow->session->drag_clips);
        popup->gui->lock_window("ClipPopupDelete::handle_event");
        return 1;
@@ -379,7 +378,7 @@ int ClipPasteToFolder::handle_event()
                }
                else {
                        char *cp = strchr(string, '\n');
-                       if( cp-string < 32 ) *cp = 0;
+                       if( cp && cp-string < 32 ) *cp = 0;
                        else if( len > 32 ) string[32] = 0;
                        eprintf("paste buffer is not EDL:\n%s", string);
                }