also CString("")[0] is illegal
This commit is contained in:
@@ -76,7 +76,7 @@ bool IsAnInt( const CString &s )
|
|||||||
|
|
||||||
bool IsHexVal( const CString &s )
|
bool IsHexVal( const CString &s )
|
||||||
{
|
{
|
||||||
if( s[0] == '\0' )
|
if( !s.size() )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
for( int i=0; s[i]; i++ )
|
for( int i=0; s[i]; i++ )
|
||||||
|
|||||||
Reference in New Issue
Block a user