From 17e48073446931f77e8b72d1e067a8c50b0f0d76 Mon Sep 17 00:00:00 2001 From: fdai7103 Date: Wed, 8 Feb 2023 23:52:19 +0100 Subject: [PATCH] refactoring: Leere Zeilen entfernt und Konvention in Zuweisung umgesetzt --- src/Paper-Bin.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Paper-Bin.c b/src/Paper-Bin.c index 4bb04c9..64511e3 100644 --- a/src/Paper-Bin.c +++ b/src/Paper-Bin.c @@ -191,7 +191,6 @@ int main() void getStartPosition() { - while (ballX == -1) { for (int i = 2, j = 0; i <= 20; i += 2, j++) @@ -209,10 +208,8 @@ void getStartPosition() ballX = -1; continue; } - ballX = (ballX + 1)*2; + ballX = (ballX + 1) * 2; } - - } void clearField()