Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix incorrect assumption that xbin fonts are 16 lines high
  • Loading branch information
bricas committed Mar 29, 2012
1 parent 2ca1f87 commit 54f6b7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansilove/ansilove.c
Expand Up @@ -2124,7 +2124,7 @@ void alXbinLoader(char *input, char output[], char bits[])
color_background = (attribute & 240) >> 4;
color_foreground = attribute & 15;

alDrawChar(im_XBIN, font_data, 8, 8, 16, position_x, position_y, colors[color_background], colors[color_foreground], character);
alDrawChar(im_XBIN, font_data, 8, 8, xbin_fontsize, position_x, position_y, colors[color_background], colors[color_foreground], character);

position_x++;
offset+=2;
Expand Down

0 comments on commit 54f6b7e

Please sign in to comment.