From 6c039f9a674229b1f48b000f0d7faa3f085a4300 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 23 May 2004 02:28:36 +0000 Subject: [PATCH] cleanup --- stepmania/src/XmlFile.cpp | 38 +------------------------------------- stepmania/src/XmlFile.h | 2 +- 2 files changed, 2 insertions(+), 38 deletions(-) diff --git a/stepmania/src/XmlFile.cpp b/stepmania/src/XmlFile.cpp index e3ad16e67b..737d7a364c 100644 --- a/stepmania/src/XmlFile.cpp +++ b/stepmania/src/XmlFile.cpp @@ -1,8 +1,4 @@ #include "global.h" -// XmlFile.cpp: implementation of the XmlFile class. -// -////////////////////////////////////////////////////////////////////// - #include "XmlFile.h" #include #include @@ -28,40 +24,8 @@ static const XENTITY x_EntityTable[] = { PARSEINFO piDefault; DISP_OPT optDefault; XENTITYS entityDefault((LPXENTITY)x_EntityTable, sizeof(x_EntityTable)/sizeof(x_EntityTable[0]) ); -////////////////////////////////////////////////////////////////////// -// Construction/Destruction -////////////////////////////////////////////////////////////////////// - -//======================================================== -// Name : _tcschrs -// Desc : same with strpbrk -// Param : -// Return : -//-------------------------------------------------------- -// Coder Date Desc -// bro 2002-10-29 -//======================================================== -char* _tcschrs( const char* psz, const char* pszchs ) -{ - while( psz && *psz ) - { - if( strchr( pszchs, *psz ) ) - return (char*)psz; - psz++; - } - return NULL; -} - -//======================================================== -// Name : _tcsskip -// Desc : skip space -// Param : -// Return : skiped string -//-------------------------------------------------------- -// Coder Date Desc -// bro 2002-10-29 -//======================================================== +// skip spaces char* _tcsskip( const char* psz ) { while( psz && *psz == ' ' ) psz++; diff --git a/stepmania/src/XmlFile.h b/stepmania/src/XmlFile.h index 78fafc7db4..47d811f8bf 100644 --- a/stepmania/src/XmlFile.h +++ b/stepmania/src/XmlFile.h @@ -3,7 +3,7 @@ // XmlFile.h: interface for the XmlFile class. // // Adapted from http://www.codeproject.com/cpp/xmlite.asp. -// On 2004-02-09 Cho,Kyung Min gave us permission to use and modify this +// On 2004-02-09 Cho, Kyung-Min gave us permission to use and modify this // library. // // XmlFile : XML Lite Parser Library