fix incorrect input on InputToChar
This commit is contained in:
parent
b951e4b5ed
commit
5368d474ed
@ -928,7 +928,7 @@ InputToChar(Input input, bool modified = false)
|
|||||||
case Input.SingleQuote:
|
case Input.SingleQuote:
|
||||||
case Input.Comma:
|
case Input.Comma:
|
||||||
case Input.Period:
|
case Input.Period:
|
||||||
case Input.Question:
|
case Input.Slash:
|
||||||
case Input.Zero: .. case Input.Nine:
|
case Input.Zero: .. case Input.Nine:
|
||||||
{
|
{
|
||||||
u32 code = cast(u32)(0xFF & input);
|
u32 code = cast(u32)(0xFF & input);
|
||||||
@ -959,7 +959,7 @@ InputToChar(Input input, bool modified = false)
|
|||||||
case Input.SingleQuote: return '"';
|
case Input.SingleQuote: return '"';
|
||||||
case Input.Comma: return '<';
|
case Input.Comma: return '<';
|
||||||
case Input.Period: return '>';
|
case Input.Period: return '>';
|
||||||
case Input.Question: return '/';
|
case Input.Slash: return '?';
|
||||||
default: return 0;
|
default: return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user