changed incorrect (int)char casts to (unsigned char)char casts.

This commit is contained in:
Steven Fuller 2003-05-22 01:55:16 +00:00 committed by Patryk Obara
parent edfaaf9b96
commit 638b22362e
3 changed files with 10 additions and 10 deletions

View file

@ -1151,7 +1151,7 @@ static int DHM_MoveBufferToQueue(int* pPosX,int* pPosY,int fZeroLeftMargin)
/* It is a standard character or a space */
DHM_AddToQueue(*pPosX,(*pPosY)+textprint_Y_offset, *pCh);
(*pPosX)+=AAFontWidths[(int)*pCh];//CharWidthInPixels(*pCh);
(*pPosX)+=AAFontWidths[(unsigned char)*pCh];//CharWidthInPixels(*pCh);
if ((*pPosX)>LastDisplayableXForChars())
{