diff options
author | "John Hawthorn ext:(%22) <jhawthor@uvic.ca> | 2008-12-31 18:13:23 -0800 |
---|---|---|
committer | "John Hawthorn ext:(%22) <jhawthor@uvic.ca> | 2008-12-31 18:13:23 -0800 |
commit | d18da616dc9a06dca907e74f9f316c6ea3dbb55c (patch) | |
tree | d0fdada567c5a3526990b93df4f05421790e047b /src | |
parent | c6ef9db927d48062fcfd1ba43ad9fd4bbbb5a63c (diff) | |
download | mirror-meh-d18da616dc9a06dca907e74f9f316c6ea3dbb55c.tar.gz mirror-meh-d18da616dc9a06dca907e74f9f316c6ea3dbb55c.tar.bz2 mirror-meh-d18da616dc9a06dca907e74f9f316c6ea3dbb55c.zip |
cleanup
Diffstat (limited to 'src')
-rw-r--r-- | src/scale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scale.c b/src/scale.c index e7cc41c..5036738 100644 --- a/src/scale.c +++ b/src/scale.c @@ -37,7 +37,7 @@ struct timeval t1; #define YITER \ const unsigned int bufy = (y << 10) * img->bufheight / ximg->height;\ const unsigned int v = (bufy & 1023);\ - const unsigned int vr = 1023^(bufy & 1023);\ + const unsigned int vr = 1023^v;\ ibuf = &img->buf[y * img->bufheight / ximg->height * img->bufwidth * 3];\ ibufn = ibuf + dy; |