Fix a few checkpatch issues

This commit is contained in:
Antonio Niño Díaz
2019-05-31 12:34:14 +01:00
parent d2bd9a2368
commit cc458a9693
3 changed files with 18 additions and 19 deletions

View File

@@ -199,8 +199,8 @@ static struct RawIndexedImage *indexed_png_to_raw(struct PNGImage *img)
raw_image = create_raw_image(img->width, img->height, colors);
/*
* Transparent palette entries are removed, and the palette is collapsed.
* Transparent pixels are then replaced with palette index 0.
* Transparent palette entries are removed, and the palette is
* collapsed. Transparent pixels are then replaced with palette index 0.
* This way, an indexed PNG can contain transparent pixels in *addition*
* to 4 normal colors.
*/