[gimp/soc-2011-seamless-clone2] app: fix file magic matching
- From: Clayton Walker <claytonw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/soc-2011-seamless-clone2] app: fix file magic matching
- Date: Wed, 8 May 2013 15:22:36 +0000 (UTC)
commit 470db454b948a96c592fe694ae12155456d27281
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]