mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-30 00:34:56 +00:00
engine: rename Q_cleanstr to something more meaningful
This commit is contained in:
parent
568c7fd917
commit
15dc25d2cd
@ -231,7 +231,7 @@ void Sys_PrintLog( const char *pMsg )
|
||||
crt_tm = localtime( &crt_time );
|
||||
|
||||
// strip color codes
|
||||
Q_cleanstr( pMsg, pMsg );
|
||||
COM_StripColors( pMsg, pMsg );
|
||||
|
||||
// platform-specific output
|
||||
#if XASH_ANDROID && !XASH_DEDICATED
|
||||
|
@ -615,7 +615,7 @@ char *Q_strpbrk(const char *s, const char *accept)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void Q_cleanstr( const char *in, char *out )
|
||||
void COM_StripColors( const char *in, char *out )
|
||||
{
|
||||
while ( *in )
|
||||
{
|
||||
|
@ -73,7 +73,7 @@ int Q_vsnprintf( char *buffer, size_t buffersize, const char *format, va_list ar
|
||||
int Q_snprintf( char *buffer, size_t buffersize, const char *format, ... ) _format( 3 );
|
||||
int Q_sprintf( char *buffer, const char *format, ... ) _format( 2 );
|
||||
char *Q_strpbrk(const char *s, const char *accept);
|
||||
void Q_cleanstr( char *in, char *out );
|
||||
void COM_StripColors( const char *in, char *out );
|
||||
#define Q_memprint( val ) Q_pretifymem( val, 2 )
|
||||
char *Q_pretifymem( float value, int digitsafterdecimal );
|
||||
char *va( const char *format, ... ) _format( 1 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user