Fix potential crash.

This commit is contained in:
Steve Checkoway
2004-05-16 12:05:51 +00:00
parent f66e78fd97
commit a2c074d7e2
+1 -1
View File
@@ -280,7 +280,7 @@ bool ModeChoice::IsPlayable( CString *why ) const
{ {
if( m_bInvalid ) if( m_bInvalid )
{ {
if( *why ) if( why )
*why = m_sInvalidReason; *why = m_sInvalidReason;
return false; return false;
} }