fixed use of nill object bug

This commit is contained in:
Jeff Hill
2001-02-20 18:51:55 +00:00
parent 7be2c2db6a
commit e53da894f5
+6 -1
View File
@@ -23,7 +23,12 @@
inline int cac::vPrintf ( const char *pformat, va_list args )
{
return ( *this->pVPrintfFunc ) ( pformat, args );
if ( this ) {
return ( *this->pVPrintfFunc ) ( pformat, args );
}
else {
return vfprintf ( stderr, pformat, args );
}
}
inline const char * cac::userNamePointer () const