summaryrefslogtreecommitdiff
path: root/librsvg
diff options
context:
space:
mode:
authorRaph Levien <raph@src.gnome.org>2000-05-30 07:05:17 +0000
committerRaph Levien <raph@src.gnome.org>2000-05-30 07:05:17 +0000
commit1f720bb2bea33e811c2e8add0b944b696ea19cf4 (patch)
treebece38f744d5d20405165c97984259d5fb9ef7da /librsvg
parentd11a03fb8d47e2bb9fda9ab792fc91f1c6b83bd7 (diff)
downloadnautilus-1f720bb2bea33e811c2e8add0b944b696ea19cf4.tar.gz
Fixed stupid off-by-one error.
Diffstat (limited to 'librsvg')
-rw-r--r--librsvg/art_render_gradient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/librsvg/art_render_gradient.c b/librsvg/art_render_gradient.c
index 9757e72c9..8d19c9f18 100644
--- a/librsvg/art_render_gradient.c
+++ b/librsvg/art_render_gradient.c
@@ -108,7 +108,7 @@ art_render_gradient_setpix (ArtRender *render,
else if (ix == n_stops)
ix--;
- for (j = 0; j < n_ch + 1; j++)
+ for (j = 0; j < n_ch; j++)
{
int z;
z = stops[ix].color[j];