[Sphere-axis-commits] CVS: Axis/S_ScriptsBase common.cpp,1.4,1.5 common.h,1.4,1.5
Brought to you by:
pesterle
From: Philip E. <pes...@us...> - 2004-03-04 04:13:02
|
Update of /cvsroot/sphere-axis/Axis/S_ScriptsBase In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5754 Modified Files: common.cpp common.h Log Message: no message Index: common.cpp =================================================================== RCS file: /cvsroot/sphere-axis/Axis/S_ScriptsBase/common.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** common.cpp 24 Jul 2003 20:12:44 -0000 1.4 --- common.cpp 4 Mar 2004 03:52:05 -0000 1.5 *************** *** 66,70 **** { CString s(pszStr); ! if ( s.SpanIncluding(_T("0123456789abcdefABCDEF")) == s ) return true; else --- 66,79 ---- { CString s(pszStr); ! if ( s.SpanIncluding(_T("0123456789abcdefABCDEF")) == s && s.Left(1) == _T("0") ) ! return true; ! else ! return false; ! } ! ! bool IsDecimalValue( const TCHAR * pszStr ) ! { ! CString s(pszStr); ! if ( s.SpanIncluding(_T("0123456789")) == s ) return true; else Index: common.h =================================================================== RCS file: /cvsroot/sphere-axis/Axis/S_ScriptsBase/common.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** common.h 24 Jul 2003 20:12:44 -0000 1.4 --- common.h 4 Mar 2004 03:52:05 -0000 1.5 *************** *** 59,60 **** --- 59,61 ---- __declspec(dllexport) DWORD ahextoi( const TCHAR * pszStr ); __declspec(dllexport) bool IsHexValue( const TCHAR * pszStr ); + __declspec(dllexport) bool IsDecimalValue( const TCHAR * pszStr ); |