JonahPearce / DesktopUtilityManager

0 stars 0 forks source link

Issue with hangman structure initialization. #12

Closed ktargosz closed 3 years ago

ktargosz commented 3 years ago

After playing a game, sometimes it will begin with a letter already selected. I believe this letter is saved from the previous round of guessing.

ktargosz commented 3 years ago

This was fixed by using a memset() for the structure initialization. This way the structure will be empty each time a new game is played.