From e94795b19983f7f30be1a654cec61d0bdaba7daa Mon Sep 17 00:00:00 2001 From: "Mirar (Pontus Hagland)" <pike@sort.mirar.org> Date: Sun, 20 Oct 1996 22:09:58 +0200 Subject: [PATCH] bugfix Rev: src/modules/image/quant.c:1.11 --- src/modules/image/quant.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/image/quant.c b/src/modules/image/quant.c index d08ba636a7..72480168f7 100644 --- a/src/modules/image/quant.c +++ b/src/modules/image/quant.c @@ -648,7 +648,7 @@ fprintf(stderr,"%lx %d,%d,%d ",me,ct->clut[me->cl].r,ct->clut[me->cl].g,ct->clut eme=&(me->next); me=me->next; } - if (!mindistance && beme) /* exact match, place first */ + if (!mindistance && beme && *beme) /* exact match, place first */ { struct map_entry e; e=*feme; -- GitLab