ansilove

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

commit d7bed80a23221ae8f7dd4eadc228d2e5e5c9c6d2
parent 8b8148daa2d22efa8d001550179e204f4861657c
Author: ByteProject <stefan.vogt@byteproject.net>
Date:   Fri, 12 Jul 2013 22:30:30 +0200

Clang the compiler / Blaine the Mono says: init your variables properly

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

diff --git a/ansilove/ansilove.c b/ansilove/ansilove.c @@ -2,7 +2,7 @@ // ansilove.c // AnsiLove/C // -// Copyright (C) 2011-2012 Stefan Vogt, Brian Cassidy, Frederic Cambus. +// Copyright (C) 2011-2013 Stefan Vogt, Brian Cassidy, Frederic Cambus. // All rights reserved. // https://github.com/ByteProject/AnsiLove-C/ // @@ -762,8 +762,8 @@ void alAnsiLoader(char *input, char output[], char retinaout[], char font[], cha // process workbench colors gdImageColorAllocate(im_ANSi, workbench_color[0][0], workbench_color[0][1], workbench_color[0][2]); - int32_t workbench_background; - + int32_t workbench_background = 0; + gdImageFill(im_ANSi, 0, 0, workbench_background); for (loop=0; loop<8; loop++)