[gimp] Bug 734655 - "Export Image As JPEG" settings are not remembered



commit 6c9181158e8905de9016998667c1fae3c89b9bd8
Author: Michael Natterer <mitch gimp org>
Date:   Mon Sep 15 00:35:04 2014 +0200

    Bug 734655 - "Export Image As JPEG" settings are not remembered
    
    Fix the number of expected fields when parsing the defaults parasite
    so the saved settings are actually used. Spotted by Massimo.

 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 0864cc9..eb45b15 100644
--- a/plug-ins/file-jpeg/jpeg-save.c
+++ b/plug-ins/file-jpeg/jpeg-save.c
@@ -1268,7 +1268,7 @@ load_defaults (void)
 
   tmpvals.subsmp = subsampling;
 
-  if (num_fields == 13 || num_fields == 14)
+  if (num_fields == 13 || num_fields == 15)
     {
       memcpy (&jsvals, &tmpvals, sizeof (tmpvals));
     }


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