forgot this for loop, wasn't a bad issue though

This commit is contained in:
Phuntsok Drak-pa 2018-11-27 16:59:15 +01:00
parent b221c07e97
commit 04ebb1e1f9
No known key found for this signature in database
GPG Key ID: 9CB34B6827C66D22

View File

@ -69,6 +69,9 @@ void addPixelToSelectedZone(Image *t_img, int64_t t_idx, Zone *t_zone) {
for (; left_limit <= right_limit; ++left_limit) {
addPixelToSelectedZone(t_img, t_idx + t_img->sizeX, t_zone);
}
for (; left_limit <= right_limit; ++left_limit) {
addPixelToSelectedZone(t_img, t_idx - t_img->sizeX, t_zone);
}
}
/**