Permalink
Browse files

Fixing color issue with IDF loader

  • Loading branch information...
1 parent 6a6b7a2 commit af2c726738b36df2af340a244972622de4d3fb2d @fcambus fcambus committed Mar 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 ansilove/ansilove.c
View
@@ -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++;
}

0 comments on commit af2c726

Please sign in to comment.