summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 142ca98)
raw | patch | inline | side by side (parent: 142ca98)
author | mental <mental@users.sourceforge.net> | |
Tue, 21 Aug 2007 14:41:51 +0000 (14:41 +0000) | ||
committer | mental <mental@users.sourceforge.net> | |
Tue, 21 Aug 2007 14:41:51 +0000 (14:41 +0000) |
src/libnr/nr-gradient.cpp | patch | blob | history |
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);