Fix in-place def.

This commit is contained in:
Kwabena W. Agyeman 2019-01-27 20:31:39 -05:00
parent 1518e678ba
commit 446cc14562

View File

@ -213,7 +213,7 @@ static void imlib_replace_line_op(image_t *img, int line, void *other, void *dat
void imlib_replace(image_t *img, const char *path, image_t *other, int scalar, bool hmirror, bool vflip, bool transpose, image_t *mask)
{
bool in_place = img == other;
bool in_place = img->data == other->data;
image_t temp;
if (in_place) {