ansilove

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

commit 1689a947a7530847d1fc0a9abcca220c211c1ab4
parent 039e077c5d7d8064349f8a2c2ffd83b5904c6a87
Author: ByteProject <stefan.vogt@byteproject.net>
Date:   Thu, 16 Feb 2012 18:40:05 +0100

fixing integer output

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

diff --git a/ansilove/ansilove.c b/ansilove/ansilove.c @@ -232,7 +232,7 @@ void alAnsiLoader(char *input, char output[], char font[], char bits[], char ice // purpose: surpressing Clang warnings of unused font / columns variables :) // gonna remove that pretty soon! - printf("font file: %s / ANSi columns: %jd\n", font_file, columns); + printf("font file: %s / ANSi columns: %d\n", font_file, columns); // this is for testing my explode() function I ported (and enhanced) from PHP. // will be wiped from the codebase again...! @@ -242,7 +242,7 @@ void alAnsiLoader(char *input, char output[], char font[], char bits[], char ice dizCount = explode(&dizArray, ',', DIZ_EXTENSIONS); for (i = 0; i < dizCount; ++i) { - printf("DIZ-extension %jd: %s\n", i+1, dizArray[i]); + printf("DIZ-extension %d: %s\n", i+1, dizArray[i]); } } // < -- REMINDER: Remove this when enabling the ANSi code below again!