Trying to track down a debug assert.
This commit is contained in:
@@ -76,6 +76,9 @@ static bool XIsEmptyString( const RString &s )
|
|||||||
// put string of (psz~end) on ps string
|
// put string of (psz~end) on ps string
|
||||||
static void SetString( const RString &s, int iStart, int iEnd, RString* ps, bool trim = false )
|
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 )
|
if( trim )
|
||||||
{
|
{
|
||||||
while( iStart < iEnd && isspace(s[iStart]) )
|
while( iStart < iEnd && isspace(s[iStart]) )
|
||||||
|
|||||||
Reference in New Issue
Block a user