cmText.c cmTextIsEmpty() now returns true when input == NULL.

This commit is contained in:
kevin 2013-01-13 16:36:40 -08:00
parent 6602a6277a
commit a40294f9a9

View File

@ -603,6 +603,7 @@ cmChar_t* cmTextAppendChar( cmChar_t* s, cmChar_t c, unsigned n )
bool cmTextIsEmpty( const cmChar_t* s )
{
if( s!=NULL )
for(; *s; ++s )
if( !isspace(*s) )
return false;