From df02cad6cc017491cd3aa9691b27a141f77418fe Mon Sep 17 00:00:00 2001 From: AngelJumbo Date: Tue, 18 Oct 2022 17:58:06 -0500 Subject: [PATCH] Bug fix --- lavat.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lavat.c b/lavat.c index 7643e3e..23a00bc 100644 --- a/lavat.c +++ b/lavat.c @@ -49,9 +49,9 @@ int main(int argc, char *argv[]) { char *custom2 = custom; - // if (strlen(custom) > 1 && rim) { - // custom2 = custom + 1; - // } + if (custom && strlen(custom) > 1 && rim) { + custom2 = custom + 1; + } for (int i = 0; i < nballs; i++) { balls[i].x = rand() % maxX;