ansilove

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

commit 15f31e9148450f13e38a33236c63c865e2ece072
parent 917c9ae9c1d3b9bd98e3f6b6d6e8dda302619373
Author: ByteProject <stefan.vogt@byteproject.net>
Date:   Mon,  2 Feb 2015 18:30:58 +0100

bugfix that caused Ansilove to crash when rendering Amiga files (sometimes)

Diffstat:
Mansilove/ansilove.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ansilove/ansilove.c b/ansilove/ansilove.c @@ -214,8 +214,8 @@ void alAnsiLoader(char *input, char output[], char retinaout[], char font[], cha transparent = true; } - // force defaults if necessary - if ((strcmp(bits, "8") != 0 && strcmp(bits, "9") != 0) || isAmigaFont == true) { + // force defaults... exactly now! + if (strcmp(bits, "8") != 0 && strcmp(bits, "9") != 0) { sprintf(bits, "%s", "8"); }