ansilove

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

commit 1e0cec366937765931a128ca4803fdb360ca4bf1
parent 301135d3651473a92e94f0fdabe13af475c1b723
Author: Frederic Cambus <fred@statdns.com>
Date:   Mon, 17 Feb 2020 11:28:40 +0100

Lowercase optarg value before assigning it to type.

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

diff --git a/src/ansilove.c b/src/ansilove.c @@ -160,7 +160,7 @@ main(int argc, char *argv[]) justDisplaySAUCE = true; break; case 't': - type = optarg; + type = strtolower(optarg); break; case 'v': version();