Fix a bug with negative offsets in fill_image_offset()
commit10635ec92d8d3fafd83be699324d38c6c0d8cfd1
authorThomas Perl <thp@perli.net>
Wed, 22 Oct 2008 20:06:49 +0000 (22 22:06 +0200)
committerThomas Perl <thp@perli.net>
Wed, 22 Oct 2008 20:06:49 +0000 (22 22:06 +0200)
tree36920a736bd3999b8fd9e40af6a6ddf6b4159ced
parent3a53cd6428d5d6d6892278aa7e9757a488d87c24
Fix a bug with negative offsets in fill_image_offset()

When negative values for offset_x or offset_y have been
passed to fill_image_offset(), the result wasn't correct.

Fix this by translating negative offsets to positive values.
graphics.c