ansilove

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

commit 505f4866c08da037dc4ffd5937d7bb662fe15653
parent 54c4fd5683572e8c2d1b3ce586cfd4657ecfd490
Author: Brian Cassidy <bricas@cpan.org>
Date:   Thu, 16 Feb 2012 16:12:52 -0400

include 0x1a char in comparison

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

diff --git a/ansilove/ansilove.c b/ansilove/ansilove.c @@ -2205,7 +2205,7 @@ void alXbinLoader(char *input, char output[], char bits[]) rewind(input_file); fclose(input_file); - if (strcmp(strndup((char *)input_file_buffer, 4), "XBIN") != 0) { + if (strcmp(strndup((char *)input_file_buffer, 5), "XBIN\x1a") != 0) { fputs("\nNot an XBin.\n\n", stderr); exit (4); }