[Amis-cvs] amis/AmisGuiMFC AmisPropertyPage1.cpp,1.29,1.30
Brought to you by:
julienq,
marisademeglio
From: Marisa D. <mar...@us...> - 2005-09-28 16:29:51
|
Update of /cvsroot/amis/amis/AmisGuiMFC In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23011 Modified Files: AmisPropertyPage1.cpp Log Message: Small bit of error checking for null prompt Index: AmisPropertyPage1.cpp =================================================================== RCS file: /cvsroot/amis/amis/AmisGuiMFC/AmisPropertyPage1.cpp,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** AmisPropertyPage1.cpp 27 Sep 2005 18:20:39 -0000 1.29 --- AmisPropertyPage1.cpp 28 Sep 2005 16:29:41 -0000 1.30 *************** *** 771,774 **** --- 771,778 ---- CString cstr_off = _T("Off"); + if (p_prompt == NULL) + { + return; + } for (unsigned int i=0; i<p_prompt->mSequence.size(); i++) |