mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-02 22:47:26 +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;
|
return true;
|
||||||
case All:
|
case All:
|
||||||
default:
|
default:
|
||||||
return true;
|
return character >= ' ';
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user