From 43abfa0aa1ff887ee3bb0315a173c385698cc232 Mon Sep 17 00:00:00 2001 From: fdai7727 Date: Thu, 25 Jan 2024 21:08:23 +0100 Subject: [PATCH] =?UTF-8?q?Erweiterung=20der=20Test=20f=C3=BCr=20getWordFr?= =?UTF-8?q?omList=20f=C3=BCr=20Index=20=C3=BCber=20und=20unter=20Wortliste?= =?UTF-8?q?=20+=20Anpassung=20im=20Produktivcode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/c/Tim/hangman.c | 2 +- src/test/c/Tim/test_hangman.c | 14 +++++++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/main/c/Tim/hangman.c b/src/main/c/Tim/hangman.c index f684076..5f99432 100644 --- a/src/main/c/Tim/hangman.c +++ b/src/main/c/Tim/hangman.c @@ -139,7 +139,7 @@ void getWelcomeMessageHangman() char* getWordFromList(int x) { - if(x=0 && x