fix incorrect input on InputToChar

This commit is contained in:
Matthew 2025-09-17 04:06:47 +10:00
parent b951e4b5ed
commit 5368d474ed

View File

@ -928,7 +928,7 @@ InputToChar(Input input, bool modified = false)
case Input.SingleQuote:
case Input.Comma:
case Input.Period:
case Input.Question:
case Input.Slash:
case Input.Zero: .. case Input.Nine:
{
u32 code = cast(u32)(0xFF & input);
@ -959,7 +959,7 @@ InputToChar(Input input, bool modified = false)
case Input.SingleQuote: return '"';
case Input.Comma: return '<';
case Input.Period: return '>';
case Input.Question: return '/';
case Input.Slash: return '?';
default: return 0;
}
}