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
char* tcsskip( const char* psz )
{
while( psz && *psz == ' ' ) psz++;
while( psz && isspace(*psz) ) psz++;
return (char*)psz;
}
@@ -291,7 +291,7 @@ char* XNode::Load( const char* pszXml, PARSEINFO *pi /*= &piDefault*/ )
// XML Node Tag Name Open
xml++;
char* pTagEnd = strpbrk( xml, " \t\n/>" );
char* pTagEnd = strpbrk( xml, " \t\r\n/>" );
SetString( xml, pTagEnd, &m_sName );
xml = pTagEnd;
// Generate XML Attributte List