[gimp] Bug 675981: Export as JPEG "save defaults" "load defaults" doesn't work



commit cac0504f295bf6f50937edd39cc4e004c5ee8f1b
Author: Massimo Valentini <mvalentini src gnome org>
Date:   Fri May 18 17:20:52 2012 +0200

    Bug 675981: Export as JPEG "save defaults" "load defaults" doesn't work
    
    oversight

 plug-ins/file-jpeg/jpeg-save.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/file-jpeg/jpeg-save.c b/plug-ins/file-jpeg/jpeg-save.c
index cebfbce..71a7c50 100644
--- a/plug-ins/file-jpeg/jpeg-save.c
+++ b/plug-ins/file-jpeg/jpeg-save.c
@@ -1298,7 +1298,7 @@ load_defaults (void)
 
   tmpvals.subsmp = subsampling;
 
-  if (num_fields == 12)
+  if (num_fields == 13)
     memcpy (&jsvals, &tmpvals, sizeof (tmpvals));
 
   g_free (def_str);



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