diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2016-07-26 16:51:15 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2016-07-26 16:51:15 +0000 |
commit | 9fa9eb9ac7bf1d3de825ee25a8f0ae81b7b77896 (patch) | |
tree | 9b071a8105704e992946dcd6b801e9fcb7635142 /audio/soundtracker/files/patch-app_sample-editor.c | |
parent | MooseFS is a Fault tolerant, High Available, Highly Performing, Scale-Out, (diff) |
Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.
With hat: portmgr
Sponsored by: Absolight
Diffstat (limited to 'audio/soundtracker/files/patch-app_sample-editor.c')
-rw-r--r-- | audio/soundtracker/files/patch-app_sample-editor.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/audio/soundtracker/files/patch-app_sample-editor.c b/audio/soundtracker/files/patch-app_sample-editor.c new file mode 100644 index 000000000000..e9b88632689e --- /dev/null +++ b/audio/soundtracker/files/patch-app_sample-editor.c @@ -0,0 +1,21 @@ +--- 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); |