From 7ee3cde487c56363f8597cac423e054973865b6c 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;