summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorBen Millwood <thebenmachine@gmail.com>2009-10-03 12:11:39 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:15:44 +0000
commita1e7a4bd0512f35571b1a480bb24b35e0fdb3363 (patch)
treebdd06e84864a13ef921e5fd504137be19318bb33 /src/ui
parentde074a1dbb77892f11c8f33f5d92be26e761e751 (diff)
* Remove extra trailing newline from admin chat commands (oops)
* Rename private message, admin message functions for consistency * Cancel a reload when switching weapons, and prevent reloading a full clip * Simplify admin command formatting and in doing so prevent some compiler warnings on OS X * Fix some admin messages (s/kicked/banned/, no bans to show, can't perm ban) * Have tremulous_alien_common_hud include tremulous_common_hud since they're always used together anyway * Remove some redundant uses of va()
Diffstat (limited to 'src/ui')
-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 );
}