ansilove

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

commit f63a5c15ce37eaa40eefb46ff881892505c8f6b1
parent bee79dc88e64b50b65ec475db048023eb08e90fe
Author: Brian Cassidy <bricas@cpan.org>
Date:   Fri, 24 Feb 2012 09:48:48 -0400

26 in hex is 0x1a. duh.

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

diff --git a/ansilove/ansilove.c b/ansilove/ansilove.c @@ -2240,7 +2240,7 @@ void alXbinLoader(char *input, char output[], char bits[]) // read compressed xbin if( (xbin_flags & 4) == 4) { - while(offset < input_file_size && input_file_buffer[ offset ] != 0x26 ) + while(offset < input_file_size && input_file_buffer[ offset ] != 0x1A ) { int32_t ctype = input_file_buffer[ offset ] & 0xC0; int32_t counter = ( input_file_buffer[ offset ] & 0x3F ) + 1; @@ -2304,7 +2304,7 @@ void alXbinLoader(char *input, char output[], char bits[]) } // read uncompressed xbin else { - while(offset < input_file_size && input_file_buffer[ offset ] != 0x26 ) + while(offset < input_file_size && input_file_buffer[ offset ] != 0x1A ) { if (position_x == xbin_width) {