Trying to track down a debug assert.

This commit is contained in:
Steve Checkoway
2006-06-13 04:08:46 +00:00
parent 9e862f85f3
commit e0b569d495
+3
View File
@@ -76,6 +76,9 @@ static bool XIsEmptyString( const RString &s )
// put string of (psz~end) on ps string
static void SetString( const RString &s, int iStart, int iEnd, RString* ps, bool trim = false )
{
ASSERT( iStart >= 0 );
ASSERT( iEnd < int(s.length()) );
ASSERT( iStart <= iEnd );
if( trim )
{
while( iStart < iEnd && isspace(s[iStart]) )