Don't allow literally *all* code points to be entered
Oops, my bad. See a2a8c876b
.
This commit is contained in:
parent
c940a2bb89
commit
a113cbe57d
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user