[gdk-pixbuf] Make --update-cache work better



commit bfb6aa74d52c369d3bc136d8d5e869ec61a748b6
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Nov 13 17:32:59 2013 -0500

    Make --update-cache work better
    
    Due to an oversight, combining the --update-cache option with
    explicitly specified modules was leading to an attempt to
    open the --update-cache.so module - with predictably disappointing
    results. Make this work as intended, and as described
    in the man page.

 gdk-pixbuf/queryloaders.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk-pixbuf/queryloaders.c b/gdk-pixbuf/queryloaders.c
index f1b22ce..d23654e 100644
--- a/gdk-pixbuf/queryloaders.c
+++ b/gdk-pixbuf/queryloaders.c
@@ -374,7 +374,7 @@ int main (int argc, char **argv)
         else {
                 char *cwd = g_get_current_dir ();
 
-                for (i = 1; i < argc; i++) {
+                for (i = first_file; i < argc; i++) {
                         char *infilename = argv[i];
 #ifdef G_OS_WIN32
                         infilename = g_locale_to_utf8 (infilename,


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