mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-12-15 05:29:51 +01:00
engine: client: fixed height argument writing in Con_DrawStringLen
This commit is contained in:
parent
8d5426cdcd
commit
c4ef42009c
@ -990,11 +990,14 @@ void GAME_EXPORT Con_DrawStringLen( const char *pText, int *length, int *height
|
||||
{
|
||||
int curLength = 0;
|
||||
|
||||
if( !length ) return;
|
||||
*length = 0;
|
||||
if( !con.curFont )
|
||||
return;
|
||||
if( height )
|
||||
*height = con.curFont->charHeight;
|
||||
if (!length)
|
||||
return;
|
||||
|
||||
if( !con.curFont ) return;
|
||||
if( height ) *height = con.curFont->charHeight;
|
||||
*length = 0;
|
||||
|
||||
while( *pText )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user