1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-07-19 01:58:14 +08:00

Sync with latest source-sdk-2013.

This commit is contained in:
Nicholas Hastings
2014-10-30 12:30:57 -04:00
parent 6abc7fddca
commit aa5841f220
407 changed files with 6784 additions and 10498 deletions

View File

@ -70,7 +70,8 @@ void CSplitString::Construct( const char *pString, const char **pSeparators, int
else
{
// Copy the rest of the string
if ( int nTokenLength = strlen( pCurPos ) )
int nTokenLength = strlen( pCurPos );
if ( nTokenLength )
{
//////////////////////////////////////////////////////////////////////////
// There's no need to cut this token, because there's no separator after it.