summaryrefslogtreecommitdiff
path: root/src/cl_null.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2011-12-20 14:37:44 +0400
committerAndrey Nazarov <skuller@skuller.net>2012-04-03 01:25:47 +0400
commitb3e271a53de2610de173f9b2bda5d15dd4d78909 (patch)
treed567b91dadac42e168bcb13db5fe93ffbc7e1533 /src/cl_null.c
parentca4a019a74b11aa21fea2a03c6dff3b183463aab (diff)
Massive coding style change.
Use linux style brackets. Pad operators with spaces. Unpad parenthesis, except for ‘if’, ‘for’, ‘while’ constructs.
Diffstat (limited to 'src/cl_null.c')
-rw-r--r--src/cl_null.c17
1 files changed, 10 insertions, 7 deletions
diff --git a/src/cl_null.c b/src/cl_null.c
index 30aebbf..43575fc 100644
--- a/src/cl_null.c
+++ b/src/cl_null.c
@@ -24,20 +24,23 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "common.h"
#include "files.h"
-qboolean CL_CheatsOK( void ) {
+qboolean CL_CheatsOK(void)
+{
// developer option
- if( Cvar_VariableInteger( "cheats" ) ) {
+ if (Cvar_VariableInteger("cheats")) {
return qtrue;
}
return qfalse;
}
-static void Key_Bind_Null_f( void ) {
+static void Key_Bind_Null_f(void)
+{
}
-void Key_Init( void ) {
- Cmd_AddCommand( "bind", Key_Bind_Null_f );
- Cmd_AddCommand( "unbind", Key_Bind_Null_f );
- Cmd_AddCommand( "unbindall", Key_Bind_Null_f );
+void Key_Init(void)
+{
+ Cmd_AddCommand("bind", Key_Bind_Null_f);
+ Cmd_AddCommand("unbind", Key_Bind_Null_f);
+ Cmd_AddCommand("unbindall", Key_Bind_Null_f);
}