mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-12-20 12:58:06 +00:00
fixed exit from number dialog
This commit is contained in:
@@ -1569,7 +1569,7 @@ EX namespace dialog {
|
||||
ne.s += keyboard_what;
|
||||
apply_edit();
|
||||
}
|
||||
else if(uni >= 32) {
|
||||
else if(uni >= 32 && uni < 128) {
|
||||
#if SDLVER < 2
|
||||
if((uni >= '0' && uni <= '9') || among(uni, '.', '+', '-', '*', '/', '^', '(', ')', ',', '|', ' ', '=') || (uni >= 'a' && uni <= 'z')) {
|
||||
ne.s += uni;
|
||||
|
||||
Reference in New Issue
Block a user