aboutsummaryrefslogtreecommitdiffstats
path: root/code/qcommon
diff options
context:
space:
mode:
authorludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2009-05-08 09:13:09 +0000
committerludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2009-05-08 09:13:09 +0000
commit33946ac3a44651786adb5fe966badc40b81e2c21 (patch)
treef92a84bc7cf40b0e7d092cd165bf85567693a81c /code/qcommon
parent30b0394d07efb584ff3161978c9ddcaf71a7ea98 (diff)
downloadioquake3-aero-33946ac3a44651786adb5fe966badc40b81e2c21.tar.gz
ioquake3-aero-33946ac3a44651786adb5fe966badc40b81e2c21.zip
whitespace correction
git-svn-id: svn://svn.icculus.org/quake3/trunk@1544 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/qcommon')
-rw-r--r--code/qcommon/cvar.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/code/qcommon/cvar.c b/code/qcommon/cvar.c
index 6f6092b..1aafb18 100644
--- a/code/qcommon/cvar.c
+++ b/code/qcommon/cvar.c
@@ -305,9 +305,9 @@ cvar_t *Cvar_Get( const char *var_name, const char *var_value, int flags ) {
cvar_t *var;
long hash;
- if ( !var_name || ! var_value ) {
+ if ( !var_name || ! var_value ) {
Com_Error( ERR_FATAL, "Cvar_Get: NULL parameter" );
- }
+ }
if ( !Cvar_ValidateString( var_name ) ) {
Com_Printf("invalid cvar name string: %s\n", var_name );
@@ -615,15 +615,15 @@ void Cvar_SetCheatState( void ) {
// set all default vars to the safe value
for ( var = cvar_vars ; var ; var = var->next ) {
if ( var->flags & CVAR_CHEAT ) {
- // the CVAR_LATCHED|CVAR_CHEAT vars might escape the reset here
- // because of a different var->latchedString
- if (var->latchedString)
- {
- Z_Free(var->latchedString);
- var->latchedString = NULL;
- }
+ // the CVAR_LATCHED|CVAR_CHEAT vars might escape the reset here
+ // because of a different var->latchedString
+ if (var->latchedString)
+ {
+ Z_Free(var->latchedString);
+ var->latchedString = NULL;
+ }
if (strcmp(var->resetString,var->string)) {
- Cvar_Set( var->name, var->resetString );
+ Cvar_Set( var->name, var->resetString );
}
}
}