- made Windows backend parts of the console Unicode capable.

This commit is contained in:
Christoph Oelckers 2019-02-15 22:05:26 +01:00
commit b4d96aaef9
5 changed files with 108 additions and 141 deletions

View file

@ -2494,9 +2494,9 @@ void FFont::FixXMoves()
if (myislower(i + FirstChar))
{
int upper = upperforlower[FirstChar + i];
if (upper >= 0)
if (upper >= FirstChar && upper <= LastChar )
{
Chars[i].XMove = Chars[upper].XMove;
Chars[i].XMove = Chars[upper - FirstChar].XMove;
continue;
}
}