summaryrefslogtreecommitdiff
path: root/src/ui/ui_atoms.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/ui_atoms.c')
-rw-r--r--src/ui/ui_atoms.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/ui_atoms.c b/src/ui/ui_atoms.c
index 58add010..32df5491 100644
--- a/src/ui/ui_atoms.c
+++ b/src/ui/ui_atoms.c
@@ -39,7 +39,7 @@ void QDECL Com_Error( int level, const char *error, ... )
Q_vsnprintf( text, sizeof( text ), error, argptr );
va_end( argptr );
- trap_Error( va( "%s", text ) );
+ trap_Error( text );
}
void QDECL Com_Printf( const char *msg, ... )
@@ -51,7 +51,7 @@ void QDECL Com_Printf( const char *msg, ... )
Q_vsnprintf( text, sizeof( text ), msg, argptr );
va_end( argptr );
- trap_Print( va( "%s", text ) );
+ trap_Print( text );
}