mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-11 06:32:10 +08:00
engine: fix some const qualifier lose and pointer-to-int casts
This commit is contained in:
@@ -990,13 +990,12 @@ void GAME_EXPORT Con_DrawStringLen( const char *pText, int *length, int *height
|
||||
{
|
||||
int curLength = 0;
|
||||
|
||||
if( !con.curFont ) return;
|
||||
|
||||
if( height ) *height = con.curFont->charHeight;
|
||||
if( !length ) return;
|
||||
|
||||
*length = 0;
|
||||
|
||||
if( !con.curFont ) return;
|
||||
if( height ) *height = con.curFont->charHeight;
|
||||
|
||||
while( *pText )
|
||||
{
|
||||
byte c = *pText;
|
||||
|
||||
Reference in New Issue
Block a user