ansilove

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

commit 3042891ff5450b28f0f15a7197c5f0fa1f97c527
parent 04cfca15557254bb61f2aac7c23c33dbe492534d
Author: Frederic Cambus <fred@statdns.com>
Date:   Sun, 16 Apr 2017 21:55:10 +0200

Remove WRAP_COLUMN_80 option

Diffstat:
Msrc/config.h | 4----
Msrc/loaders/ansi.c | 2+-
2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/src/config.h b/src/config.h @@ -15,8 +15,4 @@ // configuration defines #define VERSION "3.0.4" -enum { - WRAP_COLUMN_80 = 1 -}; - #endif diff --git a/src/loaders/ansi.c b/src/loaders/ansi.c @@ -86,7 +86,7 @@ void ansi(unsigned char *inputFileBuffer, int32_t inputFileSize, char *output, c current_character = inputFileBuffer[loop]; next_character = inputFileBuffer[loop + 1]; - if (position_x==80 && WRAP_COLUMN_80) + if (position_x==80) { position_y++; position_x=0;