[gimp] app: fix file magic matching



commit a48406681310397bbca2a31e2765980f96842bd7
Author: Michael Natterer <mitch gimp org>
Date:   Thu May 2 20:50:29 2013 +0200

    app: fix file magic matching
    
    file_procedure_find(): check all procedures' magics and not the first
    precedure's magics #procedures times, sigh.

 app/file/file-procedure.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/file/file-procedure.c b/app/file/file-procedure.c
index eab26cc..3d155b4 100644
--- a/app/file/file-procedure.c
+++ b/app/file/file-procedure.c
@@ -136,7 +136,7 @@ file_procedure_find (GSList       *procs,
 
       for (list = procs; list; list = g_slist_next (list))
         {
-          file_proc = procs->data;
+          file_proc = list->data;
 
           if (file_proc->magics_list)
             {


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