[gimp] plug-ins: Increase size of values array in file-gih to allow for values[1] access



commit cfe6e3a00ed32cebd930f89ef50a1cb88f449205
Author: Mukund Sivaraman <muks banu com>
Date:   Thu Oct 7 17:52:13 2010 +0530

    plug-ins: Increase size of values array in file-gih to allow for values[1] access

 plug-ins/common/file-gih.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/common/file-gih.c b/plug-ins/common/file-gih.c
index 289333b..4c6cbd6 100644
--- a/plug-ins/common/file-gih.c
+++ b/plug-ins/common/file-gih.c
@@ -247,7 +247,7 @@ run (const gchar      *name,
      gint             *nreturn_vals,
      GimpParam       **return_vals)
 {
-  static GimpParam   values[1];
+  static GimpParam   values[2];
   GimpRunMode        run_mode;
   GimpPDBStatusType  status = GIMP_PDB_SUCCESS;
   GimpParasite      *pipe_parasite;



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