ansilove

ANSI and ASCII art to PNG converter in C
Log | Files | Refs | README | LICENSE

commit d13b936295584a0eaecc11deff34bd3c483f8c84
parent eb24b291b23b99fb281da8389f6909c2dcf2b2b6
Author: Frederic Cambus <fred@statdns.com>
Date:   Tue, 19 Jun 2018 12:06:26 +0200

Add code to skip PabloDraw 24-bit ANSI sequences

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

diff --git a/src/loaders/ansi.c b/src/loaders/ansi.c @@ -373,6 +373,13 @@ void ansi(unsigned char *inputFileBuffer, int32_t inputFileSize, char *outputFil loop+=ansi_sequence_loop+2; break; } + + // skipping PabloDraw 24-bit ANSI sequences + if (ansi_sequence_character == 't') + { + loop+=ansi_sequence_loop+2; + break; + } } } else if (current_character!=10 && current_character!=13 && current_character!=9)