ansilove

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

commit eae444731c7e39a06f1a1b20bb71f32ffdc2122c
parent 7871fea7c90d511b939046df05dbb8ce24c6e568
Author: Frederic Cambus <fcambus@users.sourceforge.net>
Date:   Thu, 10 Dec 2015 14:09:21 +0100

Remove .diz pre-filtering as it was  a remnant of the PHP version and was causing issues

Diffstat:
Msrc/ansilove.c | 10+---------
1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/src/ansilove.c b/src/ansilove.c @@ -255,15 +255,7 @@ void alAnsiLoader(char *input, char *output, char *retinaout, char *font, int32_ isDizFile = true; } } - // in case we got a DIZ file here, do specific optimizations - if (isDizFile) - { - char *stripped_file_buffer; - stripped_file_buffer = str_replace((const char *)input_file_buffer, "\r\n", ""); - input_file_buffer = (unsigned char *)stripped_file_buffer; - input_file_size = (int32_t)strlen((const char *)input_file_buffer); - } - + // libgd image pointers gdImagePtr im_ANSi, im_Backgrnd, im_Font;