ascii-gen

simple ascii image converter
git clone git://git.jakekoroman.com/ascii-gen
Log | Files | Refs | README

commit 71a68c3f06605833b7c78ec61799f94ed5860a1e
parent 956feb84cea01efe590aa37430b50be256776fb3
Author: Jake Koroman <jakekoroman@gmail.com>
Date:   Fri,  9 Sep 2022 13:20:21 -0400

Fixed Formatting.

Diffstat:
Mascii_gen.c | 20++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/ascii_gen.c b/ascii_gen.c @@ -221,17 +221,17 @@ main(int argc, char **argv) fprintf(f, "\n"); - if (!(f == NULL || f == stdout)) { - fclose(f); - } - - if (image_bytes) { - stbi_image_free(image_bytes); + if (!(f == NULL || f == stdout)) { + fclose(f); + } + + if (image_bytes) { + stbi_image_free(image_bytes); } - if (resized_bytes && resized) { - stbi_image_free(resized_bytes); - } + if (resized_bytes && resized) { + stbi_image_free(resized_bytes); + } - return 0; + return 0; }