Fixed a bug where the character set didn't show numbers
This commit is contained in:
@@ -168,7 +168,7 @@ void initAlphabet(game_state *gs) {
|
|||||||
int hasNumber = 0;
|
int hasNumber = 0;
|
||||||
int i;
|
int i;
|
||||||
for (i = 0; i < MAXWORDLENGTH; i++) {
|
for (i = 0; i < MAXWORDLENGTH; i++) {
|
||||||
if (isdigit(gs->guessWord[i]) == 1) {
|
if (isdigit(gs->guessWord[i]) > 0) {
|
||||||
hasNumber = 1;
|
hasNumber = 1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user