mirror of
https://github.com/blendogames/quadrilateralcowboy.git
synced 2024-11-21 19:51:04 +00:00
Update more locations that did not use explicit format patterns
This commit is contained in:
parent
640a4a4fb9
commit
cd02096977
9 changed files with 9 additions and 9 deletions
|
@ -728,7 +728,7 @@ void idGameLocal::NetworkEventWarning( const entityNetEvent_t *event, const char
|
|||
va_end( argptr );
|
||||
idStr::Append( buf, sizeof(buf), "\n" );
|
||||
|
||||
common->DWarning( buf );
|
||||
common->DWarning( "%s", buf );
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -1216,7 +1216,7 @@ void idCVarSystemLocal::ListByFlags( const idCmdArgs &args, cvarFlags_t flags )
|
|||
string += ( cvar->GetFlags() & CVAR_ARCHIVE ) ? "AR " : " ";
|
||||
string += ( cvar->GetFlags() & CVAR_MODIFIED ) ? "MO " : " ";
|
||||
string += "\n";
|
||||
common->Printf( string );
|
||||
common->Printf( "%s", string );
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -2003,7 +2003,7 @@ void idFileSystemLocal::Path_f( const idCmdArgs &args ) {
|
|||
} else {
|
||||
status += ")\n";
|
||||
}
|
||||
common->Printf( status.c_str() );
|
||||
common->Printf( "%s", status.c_str() );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -876,7 +876,7 @@ void idSessionLocal::StopPlayingRenderDemo() {
|
|||
float demoFPS = numDemoFrames / demoSeconds;
|
||||
idStr message = va( "%i frames rendered in %3.1f seconds = %3.1f fps\n", numDemoFrames, demoSeconds, demoFPS );
|
||||
|
||||
common->Printf( message );
|
||||
common->Printf( "%s", message );
|
||||
if ( timeDemo == TD_YES_THEN_QUIT ) {
|
||||
cmdSystem->BufferCommandText( CMD_EXEC_APPEND, "quit\n" );
|
||||
} else {
|
||||
|
|
|
@ -1433,7 +1433,7 @@ bool idAsyncClient::ValidatePureServerChecksums( const netadr_t from, const idBi
|
|||
message += va( common->GetLanguageDict()->GetString( "#str_06750" ), missingGamePakChecksum );
|
||||
}
|
||||
|
||||
common->Printf( message );
|
||||
common->Printf( "%s", message );
|
||||
cmdSystem->BufferCommandText( CMD_EXEC_NOW, "disconnect" );
|
||||
session->MessageBox( MSG_OK, message, common->GetLanguageDict()->GetString( "#str_06735" ), true );
|
||||
} else {
|
||||
|
|
|
@ -2533,7 +2533,7 @@ void idAsyncServer::RunFrame( void ) {
|
|||
|
||||
idStr msg;
|
||||
GetAsyncStatsAvgMsg( msg );
|
||||
common->Printf( va( "%s\n", msg.c_str() ) );
|
||||
common->Printf( "%s", msg.c_str() );
|
||||
|
||||
nextAsyncStatsTime = serverTime + 1000;
|
||||
}
|
||||
|
|
|
@ -319,7 +319,7 @@ PrintClocks
|
|||
void PrintClocks( char *string, int dataCount, int clocks, int otherClocks = 0 ) {
|
||||
int i;
|
||||
|
||||
idLib::common->Printf( string );
|
||||
idLib::common->Printf( "%s", string );
|
||||
for ( i = idStr::LengthWithoutColors(string); i < 48; i++ ) {
|
||||
idLib::common->Printf(" ");
|
||||
}
|
||||
|
|
|
@ -629,7 +629,7 @@ static void R_CheckPortableExtensions( void ) {
|
|||
// check for minimum set
|
||||
if ( !glConfig.multitextureAvailable || !glConfig.textureEnvCombineAvailable || !glConfig.cubeMapAvailable
|
||||
|| !glConfig.envDot3Available ) {
|
||||
common->Error( common->GetLanguageDict()->GetString( "#str_06780" ) );
|
||||
common->Error( "%s", common->GetLanguageDict()->GetString( "#str_06780" ) );
|
||||
}
|
||||
|
||||
// GL_EXT_depth_bounds_test
|
||||
|
|
|
@ -55,7 +55,7 @@ void DisplayRealTimeString( char *string, ... ) {
|
|||
va_start( argPtr, string );
|
||||
vsprintf( buf, string, argPtr );
|
||||
va_end( argPtr );
|
||||
common->Printf( buf );
|
||||
common->Printf( "%s", buf );
|
||||
lastUpdateTime = time;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue