Code

fix typo
authormental <mental@users.sourceforge.net>
Tue, 21 Aug 2007 14:41:51 +0000 (14:41 +0000)
committermental <mental@users.sourceforge.net>
Tue, 21 Aug 2007 14:41:51 +0000 (14:41 +0000)
src/libnr/nr-gradient.cpp

index 6ca817401acc1380f738b21175daa3f28509166a..c60933abb8acb7248c17c5228b6c26809a7f0692 100644 (file)
@@ -265,7 +265,7 @@ nr_lgradient_render_R8G8B8 (NRLGradientRenderer *lgr, unsigned char *px, int x0,
                        const unsigned char *s;
                        switch (lgr->spread) {
                        case NR_GRADIENT_SPREAD_PAD:
-                                s = r_to_pointer_reflect(pos, lgr->vector);
+                                s = r_to_pointer_pad(pos, lgr->vector);
                                break;
                        case NR_GRADIENT_SPREAD_REFLECT:
                                 s = r_to_pointer_reflect(pos, lgr->vector);