summaryrefslogtreecommitdiff
path: root/audio/soundtracker/files/patch-app_sample-editor.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/soundtracker/files/patch-app_sample-editor.c')
-rw-r--r--audio/soundtracker/files/patch-app_sample-editor.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/audio/soundtracker/files/patch-app_sample-editor.c b/audio/soundtracker/files/patch-app_sample-editor.c
deleted file mode 100644
index e9b88632689e..000000000000
--- a/audio/soundtracker/files/patch-app_sample-editor.c
+++ /dev/null
@@ -1,21 +0,0 @@
---- app/sample-editor.c.orig 2006-02-25 12:26:05 UTC
-+++ app/sample-editor.c
-@@ -2647,13 +2647,15 @@ sample_editor_trim(gboolean trbeg, gbool
- static void
- sample_editor_crop()
- {
-- int start = sampledisplay->sel_start, end = sampledisplay->sel_end;
-+ int start, end, l;
-+
-+ start = sampledisplay->sel_start, end = sampledisplay->sel_end;
-
- if(current_sample == NULL || start == -1)
- return;
--
-- int l = current_sample->sample.length;
-
-+ l = current_sample->sample.length;
-+
- sample_editor_lock_sample();
- sample_editor_delete(current_sample, 0, start);
- sample_editor_delete(current_sample, end - start, l - start);