libansilove

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

commit 970aa041a81a30c0c91d842ae06f7385e4b8d813
parent f856ef77285d79385100e4cb62873fbc652c3c51
Author: Frederic Cambus <fred@statdns.com>
Date:   Mon,  9 Apr 2018 19:53:30 +0200

Assign value at declaration

Diffstat:
Msrc/loaders/icedraw.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/loaders/icedraw.c b/src/loaders/icedraw.c @@ -22,7 +22,7 @@ void icedraw(struct input *inputFile, struct output *outputFile) // libgd image pointers gdImagePtr canvas; - uint32_t loop; + uint32_t loop = 12; int32_t index; int32_t colors[16]; @@ -37,7 +37,6 @@ void icedraw(struct input *inputFile, struct output *outputFile) font_data = font_data_idf; // process IDF - loop = 12; uint32_t idf_sequence_length, idf_sequence_loop, i = 0; // dynamically allocated memory buffer for IDF data