From 8de2752cad43950c8ff9a4be8fa4ab5de1b0097c Mon Sep 17 00:00:00 2001 From: niels Date: Fri, 20 Nov 2015 20:56:46 +0100 Subject: [PATCH] fix possible crash on sample copy (reloaded) --- veejay-current/veejay-client/src/callback.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/veejay-current/veejay-client/src/callback.c b/veejay-current/veejay-client/src/callback.c index ac4377f8..09e1e5ff 100644 --- a/veejay-current/veejay-client/src/callback.c +++ b/veejay-current/veejay-client/src/callback.c @@ -1722,8 +1722,7 @@ void on_button_clipcopy_clicked(GtkWidget *widget, gpointer user_data) { if(info->selection_slot) { - multi_vims( VIMS_SAMPLE_COPY , "%d", - info->selected_slot->sample_id ); + multi_vims( VIMS_SAMPLE_COPY , "%d", info->selection_slot->sample_id ); gveejay_new_slot(MODE_SAMPLE); } }