Browse Source

refactoring: Leere Zeilen entfernt und Konvention in Zuweisung umgesetzt

main
fdai7103 2 years ago
parent
commit
17e4807344
  1. 5
      src/Paper-Bin.c

5
src/Paper-Bin.c

@ -191,7 +191,6 @@ int main()
void getStartPosition() void getStartPosition()
{ {
while (ballX == -1) while (ballX == -1)
{ {
for (int i = 2, j = 0; i <= 20; i += 2, j++) for (int i = 2, j = 0; i <= 20; i += 2, j++)
@ -209,10 +208,8 @@ void getStartPosition()
ballX = -1; ballX = -1;
continue; continue;
} }
ballX = (ballX + 1)*2;
ballX = (ballX + 1) * 2;
} }
} }
void clearField() void clearField()

Loading…
Cancel
Save