Bug fix #251: Crop simulation
authorColin Clark <colin.clark@cclark.uk>
Wed, 14 Nov 2018 10:15:23 +0000 (10:15 +0000)
committerColin Clark <colin.clark@cclark.uk>
Wed, 14 Nov 2018 10:15:23 +0000 (10:15 +0000)
commit88791d22692d624755557aa7324617c7ee6418dd
tree79a4f07ef76392b10be6ded413014b6002b7c1de
parente85e9bf34576dcae313c6ce43d2884ea405fef2d
Bug fix #251: Crop simulation

https://github.com/BestImageViewer/geeqie/issues/251

If the drawn rectangle started or ended outside the image area,
incorrect coordinates were returned.

The coordinates of the enclosed part of the image are now returned.
src/image.c
src/pixbuf-renderer.c