libansilove

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

commit ab09af31a71af76f068fd50055e8635856831e02
parent abedf819e72552fc1412a08e64088e778f55d890
Author: Frederic Cambus <fred@statdns.com>
Date:   Sun, 18 Nov 2018 12:29:44 +0100

Use 'X' instead of integer value for the start of SGR sequences

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 @@ -90,7 +90,7 @@ ansilove_pcboard(struct ansilove_ctx *ctx, struct ansilove_options *options) break; case '@': /* PCB sequence */ - if (next_character == 88) { + if (next_character == 'X') { /* set graphics rendition */ background = ctx->buffer[loop+2]; foreground = ctx->buffer[loop+3];