ansilove

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

commit af2c726738b36df2af340a244972622de4d3fb2d
parent 6a6b7a2c760cf32b1505181c24fecd00d166d505
Author: Frederic Cambus <fcambus@users.sourceforge.net>
Date:   Tue, 13 Mar 2012 19:38:25 +0100

Fixing color issue with IDF loader

Diffstat:
Mansilove/ansilove.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ansilove/ansilove.c b/ansilove/ansilove.c @@ -1685,7 +1685,7 @@ void alIcedrawLoader(char *input, char output[], char bits[], bool fileHasSAUCE) color_background = (attribute & 240) >> 4; color_foreground = attribute & 15; - alDrawChar(im_IDF, font_data, 8, 8, 16, position_x, position_y, color_background, color_foreground, character); + alDrawChar(im_IDF, font_data, 8, 8, 16, position_x, position_y, colors[color_background], colors[color_foreground], character); position_x++; }