Browse Source

Commit 18 - Erweiterung der Funktion add_guessed_letter

main^2
Peter Wiebe 11 months ago
committed by Peter Wiebe
parent
commit
d750dec8fc
  1. 2
      src/main/c/hangman.c

2
src/main/c/hangman.c

@ -257,4 +257,6 @@ void add_guessed_letter(char* guessed_letters, char guessed_letter){
return; return;
} }
} }
guessed_letters[strlen(guessed_letters)] = guessed_letter;
guessed_letters[strlen(guessed_letters) + 1] = '\0';
} }
Loading…
Cancel
Save