[librsvg] rsvg-convert: Fix argument processing



commit bef6571e361f5c306b993c7755606d4918851792
Author: Christian Persch <chpe gnome org>
Date:   Wed Sep 17 10:28:18 2014 +0200

    rsvg-convert: Fix argument processing
    
    Fixes a typo introduced in commit 07e79f07ef789a9bc0b9fb94c41f2af211570889.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=735836

 rsvg-convert.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/rsvg-convert.c b/rsvg-convert.c
index 4c3c9a5..6380107 100644
--- a/rsvg-convert.c
+++ b/rsvg-convert.c
@@ -218,7 +218,7 @@ main (int argc, char **argv)
             GFileInfo *file_info;
             gboolean compressed = FALSE;
 
-            file = g_file_new_for_commandline_arg (args[0]);
+            file = g_file_new_for_commandline_arg (args[i]);
             stream = (GInputStream *) g_file_read (file, NULL, &error);
 
             if ((file_info = g_file_query_info (file,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]