Fixed: Some files in object viewer missing dot comma after nlassert(...).

hg/feature/sound
kaetemi 15 years ago
parent 7e6f6c3e5a
commit c290f234b4

@ -198,7 +198,7 @@ public:
Scheme->setValues(tab, Scheme->getNumValues() - 1, Scheme->getNumStages()); Scheme->setValues(tab, Scheme->getNumValues() - 1, Scheme->getNumStages());
break; break;
case IValueGradientDlgClient::Up: case IValueGradientDlgClient::Up:
nlassert(index > 0) nlassert(index > 0);
std::swap(tab[index], tab[index - 1]); std::swap(tab[index], tab[index - 1]);
Scheme->setValues(tab, Scheme->getNumValues(), Scheme->getNumStages()); Scheme->setValues(tab, Scheme->getNumValues(), Scheme->getNumStages());
break; break;

@ -346,7 +346,7 @@ void CurveEdit::drawUnits(CDC &dc)
sint upVal = (sint) floorf(coordsFromScreen(0, _X).Value); sint upVal = (sint) floorf(coordsFromScreen(0, _X).Value);
sint downVal = (sint) floorf(coordsFromScreen(0, _X + _Width).Value); sint downVal = (sint) floorf(coordsFromScreen(0, _X + _Width).Value);
nlassert(upVal >= downVal) nlassert(upVal >= downVal);
for (sint k = downVal ; k <= upVal ; ++k) for (sint k = downVal ; k <= upVal ; ++k)
{ {
CGdiObject *oldPen = dc.SelectObject(&pens[k == 0 ? 1 : 0]); CGdiObject *oldPen = dc.SelectObject(&pens[k == 0 ? 1 : 0]);

@ -39,7 +39,7 @@ CMultiTexDlg::CMultiTexDlg(CParticleWorkspace::CNode *ownerNode, NL3D::CPSMultiT
_MainTexDlg(NULL), _AltTexDlg(NULL), _MainTexDlg(NULL), _AltTexDlg(NULL),
_PN(pn) _PN(pn)
{ {
nlassert(_MTP) nlassert(_MTP);
//{{AFX_DATA_INIT(CMultiTexDlg) //{{AFX_DATA_INIT(CMultiTexDlg)
m_ForceBasicCaps = NL3D::CPSMultiTexturedParticle::areBasicCapsForced(); m_ForceBasicCaps = NL3D::CPSMultiTexturedParticle::areBasicCapsForced();
m_UseParticleDateAlt = _MTP->getUseLocalDateAlt(); m_UseParticleDateAlt = _MTP->getUseLocalDateAlt();

Loading…
Cancel
Save