summaryrefslogtreecommitdiff
path: root/source/q_shared.h
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2009-09-05 12:34:05 +0000
committerAndrey Nazarov <skuller@skuller.net>2009-09-05 12:34:05 +0000
commitc1df6019baf94cdec6b1404de69fafce12aa26a4 (patch)
tree340ff19edbd6c30e76f70c13303e6859833f3bb7 /source/q_shared.h
parentf1d3a7ffd40a0e6768b220cf76d05db3c57c3e89 (diff)
Changed return type of Info_SubValidate to size_t.
Print more informative warnings when attempting to set an invalid info cvar value.
Diffstat (limited to 'source/q_shared.h')
-rw-r--r--source/q_shared.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/q_shared.h b/source/q_shared.h
index d8cc113..4386632 100644
--- a/source/q_shared.h
+++ b/source/q_shared.h
@@ -549,7 +549,7 @@ char *Info_ValueForKey( const char *s, const char *key );
void Info_RemoveKey( char *s, const char *key );
qboolean Info_SetValueForKey( char *s, const char *key, const char *value );
qboolean Info_Validate( const char *s );
-int Info_SubValidate( const char *s );
+size_t Info_SubValidate( const char *s );
void Info_NextPair( const char **string, char *key, char *value );
void Info_Print( const char *infostring );