diff --git a/public/crtlib.h b/public/crtlib.h index 111c845d..ad1d7cc0 100644 --- a/public/crtlib.h +++ b/public/crtlib.h @@ -96,8 +96,8 @@ void COM_Hex2String( uint8_t hex, char *str ); #define COM_CheckString( string ) ( ( !string || !*string ) ? 0 : 1 ) #define COM_CheckStringEmpty( string ) ( ( !*string ) ? 0 : 1 ) const char *_COM_ParseFileSafe( const char *data, char *token, const int size, unsigned int flags, int *len ); -#define COM_ParseFileSafe( data, token, size ) _COM_ParseFileSafe( data, token, size, 0, NULL ) -#define COM_ParseFile( data, token ) COM_ParseFileSafe( data, token, -1 ) +#define COM_ParseFile( data, token, size ) _COM_ParseFileSafe( data, token, size, 0, NULL ) +#define COM_ParseFileLegacy( data, token ) COM_ParseFileSafe( data, token, INT_MAX ) int matchpattern( const char *in, const char *pattern, qboolean caseinsensitive ); int matchpattern_with_separator( const char *in, const char *pattern, qboolean caseinsensitive, const char *separators, qboolean wildcard_least_one );