fixed typo, thanks liuben

This commit is contained in:
nfnt 2012-08-06 21:49:02 +02:00
parent 2d612957ed
commit f725c68998
3 changed files with 2 additions and 3 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

View File

@ -77,5 +77,4 @@ License
======= =======
Copyright (c) 2012 Jan Schlicht <janschlicht@gmail.com> Copyright (c) 2012 Jan Schlicht <janschlicht@gmail.com>
This software is released unter the ISC license. Resize is released under an MIT style license.
The license text is at <http://www.isc.org/software/license>

View File

@ -104,7 +104,7 @@ func Resize(w int, h int, img image.Image, interp InterpolationFunction) image.I
} }
} }
c <- 1 c <- 1
}(image.Rect(b.Min.X, b.Min.Y+i*(b.Dy())/4, b.Max.X, b.Min.Y+(i+1)*(b.Dy())/4), c) }(image.Rect(b.Min.X, b.Min.Y+i*(b.Dy())/NCPU, b.Max.X, b.Min.Y+(i+1)*(b.Dy())/NCPU), c)
} }
for i := 0; i < NCPU; i++ { for i := 0; i < NCPU; i++ {