more whitespace fixes
This commit is contained in:
@@ -32,7 +32,7 @@ XENTITYS entityDefault((XENTITY*)x_EntityTable, sizeof(x_EntityTable)/sizeof(x_E
|
|||||||
// skip spaces
|
// skip spaces
|
||||||
char* tcsskip( const char* psz )
|
char* tcsskip( const char* psz )
|
||||||
{
|
{
|
||||||
while( psz && *psz == ' ' ) psz++;
|
while( psz && isspace(*psz) ) psz++;
|
||||||
|
|
||||||
return (char*)psz;
|
return (char*)psz;
|
||||||
}
|
}
|
||||||
@@ -291,7 +291,7 @@ char* XNode::Load( const char* pszXml, PARSEINFO *pi /*= &piDefault*/ )
|
|||||||
|
|
||||||
// XML Node Tag Name Open
|
// XML Node Tag Name Open
|
||||||
xml++;
|
xml++;
|
||||||
char* pTagEnd = strpbrk( xml, " \t\n/>" );
|
char* pTagEnd = strpbrk( xml, " \t\r\n/>" );
|
||||||
SetString( xml, pTagEnd, &m_sName );
|
SetString( xml, pTagEnd, &m_sName );
|
||||||
xml = pTagEnd;
|
xml = pTagEnd;
|
||||||
// Generate XML Attributte List
|
// Generate XML Attributte List
|
||||||
|
|||||||
Reference in New Issue
Block a user