This could have prevented images showing that should have when the
source height is greater than its width.
When width exceeds height, as is common, it probably only caused a
miniscule amount of unnecessary work. I haven't tested.
ypos = 0; \
} \
/* If x or y offset are larger then the source it's outside of the picture */ \
- if (xoffset > src_width || yoffset > src_width) { \
+ if (xoffset > src_width || yoffset > src_height) { \
return; \
} \
\
ypos = 0; \
} \
/* If x or y offset are larger then the source it's outside of the picture */ \
- if (xoffset > src_width || yoffset > src_width) { \
+ if (xoffset > src_width || yoffset > src_height) { \
return; \
} \
\