more whitespace fixes

This commit is contained in:
Chris Danford
2005-01-07 21:52:59 +00:00
parent 964ceb6e0e
commit e836a44a3f
+2 -2
View File
@@ -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