mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-02 14:37:32 +02:00
Don't allow literally *all* code points to be entered
Oops, my bad. See a2a8c876b
.
This commit is contained in:
@@ -263,7 +263,7 @@ bool Textbox::CharacterValid(int character)
|
||||
return true;
|
||||
case All:
|
||||
default:
|
||||
return true;
|
||||
return character >= ' ';
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user