9b24fb64e7
2 new upstream fixes OBS-URL: https://build.opensuse.org/request/show/506060 OBS-URL: https://build.opensuse.org/package/show/graphics/gifsicle?expand=0&rev=7
22 lines
696 B
Diff
22 lines
696 B
Diff
diff --git a/src/support.c b/src/support.c
|
|
index 2094b0a..fe247a8 100644
|
|
--- a/src/support.c
|
|
+++ b/src/support.c
|
|
@@ -1109,14 +1109,14 @@ find_color_or_error(Gif_Color *color, Gif_Stream *gfs, Gif_Image *gfi,
|
|
return color->pixel;
|
|
else {
|
|
if (color_context)
|
|
- lerror(gfs->landmark, "%s color out of range", color_context);
|
|
+ lwarning(gfs->landmark, "%s color out of range", color_context);
|
|
return -1;
|
|
}
|
|
}
|
|
|
|
index = Gif_FindColor(gfcm, color);
|
|
if (index < 0 && color_context)
|
|
- lerror(gfs->landmark, "%s color not in colormap", color_context);
|
|
+ lwarning(gfs->landmark, "%s color not in colormap", color_context);
|
|
return index;
|
|
}
|
|
|