libansilove

Library for converting ANSI, ASCII, and other formats to PNG
Log | Files | Refs | README | LICENSE

commit c6f1bdeef64b60bc9d647e9fb57597dd60f0c4e5
parent ef8378646afc90d393e89f703b52c59cdefd0db6
Author: Frederic Cambus <fred@statdns.com>
Date:   Mon, 15 Oct 2018 13:06:57 +0200

Remove the check forcing binary files to have an even size, as SAUCE can provide wrong infos

Diffstat:
Msrc/loaders/binary.c | 6------
1 file changed, 0 insertions(+), 6 deletions(-)

diff --git a/src/loaders/binary.c b/src/loaders/binary.c @@ -13,12 +13,6 @@ int ansilove_binary(struct ansilove_ctx *ctx, struct ansilove_options *options) { - // binary files must have an even size - if (ctx->length % 2) { - ctx->error = FORMAT_ERROR; - return -1; - } - // some type declarations struct fontStruct fontData;