libansilove

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

commit c90c31fabcb7a60afbcb411b8a475d3497fc42ed
parent 78ae29c7260fcbb4c9a138407954f57e05b07fbd
Author: Frederic Cambus <fred@statdns.com>
Date:   Fri, 29 Jun 2018 21:09:03 +0200

Increment maximum ansi sequences length

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

diff --git a/src/loaders/ansi.c b/src/loaders/ansi.c @@ -127,7 +127,7 @@ void ansi(struct input *inputFile, struct output *outputFile) // ANSi sequence if (current_character == 27 && next_character == 91) { - for (ansi_sequence_loop = 0; ansi_sequence_loop < 12; ansi_sequence_loop++) + for (ansi_sequence_loop = 0; ansi_sequence_loop < 14; ansi_sequence_loop++) { ansi_sequence_character = inputFile->data[loop + 2 + ansi_sequence_loop];