[gimp/gimp-2-8] plug-ins: fix typo in previous commit



commit 912fe765e720b3bd2790d1a257ed956b63e40896
Author: Ell <ell_se yahoo com>
Date:   Fri Jul 7 05:02:12 2017 -0400

    plug-ins: fix typo in previous commit
    
    That's a weird one :)

 plug-ins/common/file-csource.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/common/file-csource.c b/plug-ins/common/file-csource.c
index 11d1bda..96ee884 100644
--- a/plug-ins/common/file-csource.c
+++ b/plug-ins/common/file-csource.c
@@ -426,7 +426,7 @@ save_image (Config  *config,
       n_bytes = drawable->width * drawable->height * bpp;
       pad = drawable->width * drawable->bpp;
       if (use_rle)
-        pad = MAX (pa++d, 130 + n_bytes / 127);
+        pad = MAX (pad, 130 + n_bytes / 127);
 
       data = g_new (guint8, pad + n_bytes);
       p = data + pad;


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