Allowed character code zero to be remapped with other character codes.

This commit is contained in:
Greg King
2016-06-11 06:43:19 -04:00
parent e95d07aa97
commit 573381a340
8 changed files with 71 additions and 59 deletions

View File

@@ -124,6 +124,6 @@ void TgtTranslateStrBuf (StrBuf* Buf)
void TgtTranslateSet (unsigned Index, unsigned char C)
/* Set the translation code for the given character */
{
CHECK (Index > 0 && Index < sizeof (Tab));
CHECK (Index < sizeof (Tab));
Tab[Index] = C;
}