From b7ab3e3bebe285f80bf7a96122b5d673f99dc9bd Mon Sep 17 00:00:00 2001 From: Ronja Awe Date: Thu, 2 Feb 2023 15:39:19 +0100 Subject: [PATCH] =?UTF-8?q?else=20if=20hinzugef=C3=BCgt=20f=C3=BCr=20labyr?= =?UTF-8?q?inth=20ausgabe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/c/labyrinth.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/c/labyrinth.c b/src/c/labyrinth.c index 9dc72ba..91a0c9d 100644 --- a/src/c/labyrinth.c +++ b/src/c/labyrinth.c @@ -15,7 +15,9 @@ int printlabyrinth(lab laby, int hoehe, int breite){ if(laby[i][j] == '1'){ printf("■ "); } - + else if(laby[i][j] == WEG){ + printf(" "); + } else{ printf("%c ", laby[i][j]); }