Add some more ascii characters to the mask set

modified:   src/nms.c
This commit is contained in:
Brian Barto 2016-04-11 16:56:44 -04:00
parent 1ce3eaa7b1
commit 5f5c70fee7

View File

@ -216,7 +216,8 @@ void clearTermWindow(int pRows, int pCols) {
char getMaskChar(void) { char getMaskChar(void) {
char *maskChars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" char *maskChars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
"abcdefghijklmnopqrstuvwxyz" "abcdefghijklmnopqrstuvwxyz"
"1234567890"; "1234567890"
"!@#$%^&*()-_=+{}[]:;|\\\"'<>,.?/";
return maskChars[rand() % strlen(maskChars)]; return maskChars[rand() % strlen(maskChars)];
} }