Allow resetting a CourseContentsList.

This commit is contained in:
Glenn Maynard
2003-07-20 02:27:37 +00:00
parent 301ad56516
commit adaa0b0b01
+5 -1
View File
@@ -46,7 +46,11 @@ CourseContentsList::CourseContentsList()
void CourseContentsList::SetFromCourse( Course* pCourse )
{
ASSERT( pCourse != NULL );
if( pCourse == NULL )
{
m_iNumContents = 0;
return;
}
m_iNumContents = 0;