changed incorrect (int)char casts to (unsigned char)char casts.
This commit is contained in:
parent
edfaaf9b96
commit
638b22362e
3 changed files with 10 additions and 10 deletions
|
@ -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())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue