summaryrefslogtreecommitdiff
path: root/apps/plugins/splitedit.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/splitedit.c')
-rw-r--r--apps/plugins/splitedit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/splitedit.c b/apps/plugins/splitedit.c
index a07769c390..3e5161b67f 100644
--- a/apps/plugins/splitedit.c
+++ b/apps/plugins/splitedit.c
@@ -687,7 +687,7 @@ static int save(
687 /* write the file 1 */ 687 /* write the file 1 */
688 if (file_name1 != NULL) 688 if (file_name1 != NULL)
689 { 689 {
690 file1 = rb->open (file_name1, O_WRONLY | O_CREAT); 690 file1 = rb->open (file_name1, O_WRONLY | O_CREAT, 0666);
691 if (file1 >= 0) 691 if (file1 >= 0)
692 { 692 {
693 int rc = copy_file(file1, src_file, end, y*2 + 1, y -1); 693 int rc = copy_file(file1, src_file, end, y*2 + 1, y -1);
@@ -727,7 +727,7 @@ static int save(
727 if (file_name2 != NULL) 727 if (file_name2 != NULL)
728 { 728 {
729 /* write file 2 */ 729 /* write file 2 */
730 file2 = rb->open (file_name2, O_WRONLY | O_CREAT); 730 file2 = rb->open (file_name2, O_WRONLY | O_CREAT, 0666);
731 if (file2 >= 0) 731 if (file2 >= 0)
732 { 732 {
733 end = mp3->filesize - end; 733 end = mp3->filesize - end;