[gimp] plug-ins: fix progress fractions in file-pat-save



commit 7de6bb817337c996387563f5d6306104fe4e1020
Author: Michael Natterer <mitch gimp org>
Date:   Fri Oct 4 18:36:27 2013 +0200

    plug-ins: fix progress fractions in file-pat-save

 plug-ins/common/file-pat.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/common/file-pat.c b/plug-ins/common/file-pat.c
index 0043040..71b8470 100644
--- a/plug-ins/common/file-pat.c
+++ b/plug-ins/common/file-pat.c
@@ -569,7 +569,7 @@ save_image (GFile   *file,
           return FALSE;
         }
 
-      gimp_progress_update ((gdouble) line / (gdouble) ph.height);
+      gimp_progress_update ((gdouble) line / (gdouble) height);
     }
 
   g_object_unref (buffer);


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