libansilove

Library for converting ANSI, ASCII, and other formats to PNG
Log | Files | Refs | README | LICENSE

commit 5477623c102b2f555fe26de2cc4d6df7288e2355
parent 34e9e1941b73297f0be23602fe3e13586971e45a
Author: Frederic Cambus <fred@statdns.com>
Date:   Fri,  7 Jun 2019 15:24:13 +0200

Also remove superfluous background color allocation in the XBin loader.

Diffstat:
Msrc/loaders/xbin.c | 3---
1 file changed, 0 insertions(+), 3 deletions(-)

diff --git a/src/loaders/xbin.c b/src/loaders/xbin.c @@ -59,9 +59,6 @@ ansilove_xbin(struct ansilove_ctx *ctx, struct ansilove_options *options) return -1; } - /* allocate black color */ - gdImageColorAllocate(canvas, 0, 0, 0); - uint32_t colors[16]; uint32_t offset = 11;