Don't allow literally *all* code points to be entered

Oops, my bad. See a2a8c876b.
This commit is contained in:
Tamás Bálint Misius 2020-03-10 11:46:06 +01:00
parent c940a2bb89
commit a113cbe57d
No known key found for this signature in database
GPG Key ID: 5B472A12F6ECA9F2

View File

@ -263,7 +263,7 @@ bool Textbox::CharacterValid(int character)
return true;
case All:
default:
return true;
return character >= ' ';
}
return false;
}