diff options
author | Andrey Nazarov <skuller@skuller.net> | 2008-03-06 15:05:38 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2008-03-06 15:05:38 +0000 |
commit | c9de9262ae2cbb799ff71d4d93dace22f33247aa (patch) | |
tree | a78ab16cc5e35eac0f897aebff01722ffa7f1aad /source/cvar.c | |
parent | bf0e48bb73e2d6846e15335e3625290d1f9ebc52 (diff) |
Updated revision to 194.
Calling `draw' command without arguments lists registered strings.
Fixed Windows compilation issues.
Fixed Ctrl+C in console.
Diffstat (limited to 'source/cvar.c')
-rw-r--r-- | source/cvar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/cvar.c b/source/cvar.c index 021afa5..d36d30a 100644 --- a/source/cvar.c +++ b/source/cvar.c @@ -289,7 +289,7 @@ void Cvar_SetByVar( cvar_t *var, const char *value, cvarSetSource_t source ) { if( var->flags & CVAR_INFOMASK ) { if( Info_SubValidate( value ) == -1 ) { - Com_WPrintf( "Invalid info cvar value.\n" ); + Com_WPrintf( "Invalid info cvar value '%s' for '%s'.\n", value, var->name ); return; } } @@ -779,7 +779,7 @@ static const cmd_option_t o_cvarlist[] = { }; static void Cvar_List_c( genctx_t *ctx, int argnum ) { - return Cmd_Option_c( o_cvarlist, NULL, ctx, argnum ); + Cmd_Option_c( o_cvarlist, NULL, ctx, argnum ); } static void Cvar_List_f( void ) { |