libansilove

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

commit e6f8e93a0b82d6a13175b0e4e3c692b0d7870695
parent 2a1b882566691b5168468ab8cb5af4d97e294788
Author: Frederic Cambus <fred@statdns.com>
Date:   Wed, 23 Sep 2020 08:33:28 +0200

Fix default background and foreground colors in the PCBoard loader.

Diffstat:
Msrc/loaders/pcboard.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/loaders/pcboard.c b/src/loaders/pcboard.c @@ -54,7 +54,7 @@ ansilove_pcboard(struct ansilove_ctx *ctx, struct ansilove_options *options) gdImagePtr canvas; uint8_t character, *cursor; - uint32_t background = 0, foreground = 7; + uint32_t background = '0', foreground = '7'; uint32_t column = 0, row = 0, rowMax = 0; /* PCB buffer structure array definition */