summaryrefslogtreecommitdiff
path: root/render/scale.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/scale.c')
-rw-r--r--render/scale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/scale.c b/render/scale.c
index 47345387..a07d52a7 100644
--- a/render/scale.c
+++ b/render/scale.c
@@ -13,7 +13,7 @@ scalerow(unsigned char *src, unsigned char *dst, int w, int ncomp, int denom)
for (x = 0; x < w; x++)
{
for (k = 0; k < ncomp; k++)
- sum[k] += src[x * ncomp + k];
+ sum[k] += src[x * ncomp + k];
if (++left == denom)
{
left = 0;