[Xfce4-commits] [apps/xfburn] 01/07: Do no open data-composition when running --audio-composition

noreply at xfce.org noreply at xfce.org
Mon Nov 20 18:38:31 CET 2017


This is an automated email from the git hooks/post-receive script.

s   k   u   n   n   y   k       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfburn.

commit 6df73ec15e6b629d4bfbb8de81acbd24da554e09
Author: Romain B <skunnyk at alteroot.org>
Date:   Mon Nov 20 13:40:28 2017 +0100

    Do no open data-composition when running --audio-composition
    
    - Fix bug #13251 "--audio-composition opens also a data composition when multiple FILE paths specified"
    - Thanks to to itteffi for the patch
---
 xfburn/xfburn-main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xfburn/xfburn-main.c b/xfburn/xfburn-main.c
index 06bf7d9..279028b 100644
--- a/xfburn/xfburn-main.c
+++ b/xfburn/xfburn-main.c
@@ -343,7 +343,7 @@ main (int argc, char **argv)
   if (argc == 2 && !add_data_composition && !add_audio_composition) {
     /* exactly one filename, assume it is an image */
       image_filename = argv[1];
-  } else if (argc > 2) {
+  } else if (argc > 2 && !add_data_composition && !add_audio_composition) {
     /* several file names, for now just open up a data composition */
     /* TODO: auto-detect music files for audio compositions */
     add_data_composition = TRUE;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list