libansilove

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

commit c1e10d3c6a2f9342d2bedc028e036deb8a3555a2
parent 99edda3865bd2e6dd4f1d079e044e09d46b3849d
Author: Frederic Cambus <fred@statdns.com>
Date:   Fri, 25 Sep 2020 22:45:09 +0200

Remove useless test, we can't encounter Carriage Return at this point.

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 @@ -157,7 +157,7 @@ ansilove_ansi(struct ansilove_ctx *ctx, struct ansilove_options *options) rowMax = row; /* write current character in ansiChar structure */ - if (!fontData.isAmigaFont || (current_character != 12 && current_character != 13)) { + if (!fontData.isAmigaFont || (current_character != 12)) { /* reallocate structure array memory */ if (structIndex == ansi_buffer_size) { ansi_buffer_size += ANSI_BUFFER_SIZE;