1
0
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:
Zeno Rogue
2025-12-11 20:33:45 +01:00
parent d0d102e184
commit 5d56c8679f

View File

@@ -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;