libansilove

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

commit af239075bcb01aab3e22695c06f72c6b21e7ea24
parent ed32d39f03e3b9e0db8dcba0d86aa1d1b7f49b5b
Author: Frederic Cambus <fred@statdns.com>
Date:   Wed, 26 Sep 2018 10:31:29 +0200

Do not set default value for columns in ansilove_init(), this needs to be moved to the loaders

Diffstat:
Msrc/init.c | 3---
1 file changed, 0 insertions(+), 3 deletions(-)

diff --git a/src/init.c b/src/init.c @@ -19,9 +19,6 @@ ansilove_init(struct ansilove_ctx *ctx, struct ansilove_options *options) { // default to 8 if bits option is not specified options->bits = 8; - // default to 160 if columns option is not specified - options->columns = 160; - // default to 0 if retinaScaleFactor option is not specified options->retinaScaleFactor = 0; }