From a2822142e62370a9b91a275212a20b40c6c6d750 Mon Sep 17 00:00:00 2001 From: dolphin6k Date: Mon, 17 Aug 2020 17:29:00 +0900 Subject: [PATCH] Ooops! Mistook the logic for using result from liq_quantize_image() --- src/tuxpaint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tuxpaint.c b/src/tuxpaint.c index 45e60a343..d97015638 100644 --- a/src/tuxpaint.c +++ b/src/tuxpaint.c @@ -25712,7 +25712,7 @@ static int export_gif(int *selected, int num_selected, char *dirname, char **d_n done = (qtiz_status != LIQ_OK); #else quantization_result = liq_quantize_image(liq_handle, input_image); - done = (quantization_result != NULL); + done = (quantization_result == NULL); #endif if (!done) { // Use libimagequant to make new image pixels from the palette