Browse Source

Commit 18 - Erweiterung der Funktion add_guessed_letter

remotes/origin/peter^2
Peter Wiebe 11 months ago
parent
commit
acff362956
  1. 2
      src/main/c/hangman.c

2
src/main/c/hangman.c

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