diff options
author | John Hawthorn <john.hawthorn@gmail.com> | 2010-01-19 19:28:23 -0800 |
---|---|---|
committer | John Hawthorn <john.hawthorn@gmail.com> | 2010-01-19 19:28:23 -0800 |
commit | f7bd697cdf90dd8725b1a7e815750c7192d9e44a (patch) | |
tree | 49b746848089f5cc008be47d548688cf1b7a6c4f /src/scale.c | |
parent | ba9dd18ef222e79ac30be5d2251f3e4bc40699fd (diff) | |
download | mirror-meh-f7bd697cdf90dd8725b1a7e815750c7192d9e44a.tar.gz mirror-meh-f7bd697cdf90dd8725b1a7e815750c7192d9e44a.tar.bz2 mirror-meh-f7bd697cdf90dd8725b1a7e815750c7192d9e44a.zip |
2 bugs
Diffstat (limited to 'src/scale.c')
-rw-r--r-- | src/scale.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scale.c b/src/scale.c index eb9e689..bec380c 100644 --- a/src/scale.c +++ b/src/scale.c @@ -46,8 +46,8 @@ static void superscale(struct image *img, unsigned int width, unsigned int heigh TDEBUG_START - unsigned int divx[bytesperline]; - unsigned int divy[bytesperline]; + unsigned int divx[width]; + unsigned int divy[height]; memset(divx, 0, sizeof divx); memset(divy, 0, sizeof divy); for(x = 0; x < img->bufwidth; x++){ |