[gimp] plug-ins: fix a typo in noise-randomize



commit eadceef99ba69990a2c6f827fe7570fdc1e49602
Author: Massimo Valentini <mvalentini src gnome org>
Date:   Mon Jul 18 20:40:23 2011 +0200

    plug-ins: fix a typo in noise-randomize
    
    Applying the filter noise slur on a white image produces
    black artifacts at the first rows. Seen in meetthegimp162.mp4.

 plug-ins/common/noise-randomize.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/common/noise-randomize.c b/plug-ins/common/noise-randomize.c
index fcfee18..e20085a 100644
--- a/plug-ins/common/noise-randomize.c
+++ b/plug-ins/common/noise-randomize.c
@@ -530,7 +530,7 @@ randomize (GimpDrawable *drawable,
        *  prepare the first row and previous row
        */
       randomize_prepare_row (sp, pr, x1, y1 - 1, (x2 - x1));
-      randomize_prepare_row (dp, cr, x1, y1, (x2 - x1));
+      randomize_prepare_row (sp, cr, x1, y1, (x2 - x1));
       /*
        *  loop through the rows, applying the selected convolution
        */



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