[gimp/gimp-2-8] Bug 670226 - pbm image non-interactive different from interactive



commit f8c86702e9363370329528f44491012390f988df
Author: Massimo Valentini <mvalentini src gnome org>
Date:   Sat Feb 18 19:15:33 2012 +0100

    Bug 670226 - pbm image non-interactive different from interactive
    
    Properly set the "pbm" flag in non-interactive mode, also add a
    missing "break" so non-interactive actually behaves like
    non-interactive.
    (cherry picked from commit d93d2e71c31d7684a3385e450e4def66c9e3d13e)

 plug-ins/common/file-pnm.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plug-ins/common/file-pnm.c b/plug-ins/common/file-pnm.c
index bde8b09..e30119c 100644
--- a/plug-ins/common/file-pnm.c
+++ b/plug-ins/common/file-pnm.c
@@ -428,7 +428,9 @@ run (const gchar      *name,
           else
             {
               psvals.raw = (param[5].data.d_int32) ? TRUE : FALSE;
+              pbm = (strcmp (name, PBM_SAVE_PROC) == 0);
             }
+          break;
 
         case GIMP_RUN_WITH_LAST_VALS:
           /*  Possibly retrieve data  */



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