libansilove

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

commit 19fbb703bcc7815fe3fe95c9f9420f6b4665dd54
parent c55cf0c0b2cfee6dcc18ac38c4a503ff279c0240
Author: Frederic Cambus <fred@statdns.com>
Date:   Fri,  8 Feb 2019 21:17:01 +0100

Remove useless parentheses, perform style nitpicks.

Diffstat:
Msrc/loaders/ansi.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/loaders/ansi.c b/src/loaders/ansi.c @@ -463,9 +463,9 @@ ansilove_ansi(struct ansilove_ctx *ctx, struct ansilove_options *options) /* create that damn thingy */ if (!options->truecolor) { - canvas = gdImageCreate(columns * options->bits, (rowMax)*fontData.height); + canvas = gdImageCreate(columns * options->bits, rowMax * fontData.height); } else { - canvas = gdImageCreateTrueColor(columns * options->bits, (rowMax)*fontData.height); + canvas = gdImageCreateTrueColor(columns * options->bits, rowMax * fontData.height); } if (!canvas) {