From fd0373d9c50fa3f97e2eb92c454e9863baff17a7 Mon Sep 17 00:00:00 2001 From: fdai7037 Date: Wed, 8 Feb 2023 23:43:07 +0100 Subject: [PATCH] refactoring: Die Lesbarkeit im sechsten Case verbessert --- src/Paper-Bin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Paper-Bin.c b/src/Paper-Bin.c index 442a3a7..829a456 100644 --- a/src/Paper-Bin.c +++ b/src/Paper-Bin.c @@ -83,9 +83,9 @@ void loadLevel(int lvlnum) case (6): tmpX = rand() % 19; tmpY = rand() % 12; - while (5 >tmpX) + while (5 > tmpX) { - tmpX = rand()%19; + tmpX = rand() % 19; } while (5 > tmpY) {