From c290f234b41bab4b7d51750cbb3adba777e438ce Mon Sep 17 00:00:00 2001 From: kaetemi Date: Fri, 14 May 2010 15:17:45 +0200 Subject: [PATCH] Fixed: Some files in object viewer missing dot comma after nlassert(...). --- code/nel/tools/3d/object_viewer/attrib_dlg.cpp | 2 +- code/nel/tools/3d/object_viewer/curve_edit.cpp | 2 +- code/nel/tools/3d/object_viewer/multi_tex_dlg.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/code/nel/tools/3d/object_viewer/attrib_dlg.cpp b/code/nel/tools/3d/object_viewer/attrib_dlg.cpp index 5935eaded..ae13b63bd 100644 --- a/code/nel/tools/3d/object_viewer/attrib_dlg.cpp +++ b/code/nel/tools/3d/object_viewer/attrib_dlg.cpp @@ -198,7 +198,7 @@ public: Scheme->setValues(tab, Scheme->getNumValues() - 1, Scheme->getNumStages()); break; case IValueGradientDlgClient::Up: - nlassert(index > 0) + nlassert(index > 0); std::swap(tab[index], tab[index - 1]); Scheme->setValues(tab, Scheme->getNumValues(), Scheme->getNumStages()); break; diff --git a/code/nel/tools/3d/object_viewer/curve_edit.cpp b/code/nel/tools/3d/object_viewer/curve_edit.cpp index 1a7f4e4d5..1a9cb8e99 100644 --- a/code/nel/tools/3d/object_viewer/curve_edit.cpp +++ b/code/nel/tools/3d/object_viewer/curve_edit.cpp @@ -346,7 +346,7 @@ void CurveEdit::drawUnits(CDC &dc) sint upVal = (sint) floorf(coordsFromScreen(0, _X).Value); sint downVal = (sint) floorf(coordsFromScreen(0, _X + _Width).Value); - nlassert(upVal >= downVal) + nlassert(upVal >= downVal); for (sint k = downVal ; k <= upVal ; ++k) { CGdiObject *oldPen = dc.SelectObject(&pens[k == 0 ? 1 : 0]); diff --git a/code/nel/tools/3d/object_viewer/multi_tex_dlg.cpp b/code/nel/tools/3d/object_viewer/multi_tex_dlg.cpp index 18f6e0ca4..6a9eeed85 100644 --- a/code/nel/tools/3d/object_viewer/multi_tex_dlg.cpp +++ b/code/nel/tools/3d/object_viewer/multi_tex_dlg.cpp @@ -39,7 +39,7 @@ CMultiTexDlg::CMultiTexDlg(CParticleWorkspace::CNode *ownerNode, NL3D::CPSMultiT _MainTexDlg(NULL), _AltTexDlg(NULL), _PN(pn) { - nlassert(_MTP) + nlassert(_MTP); //{{AFX_DATA_INIT(CMultiTexDlg) m_ForceBasicCaps = NL3D::CPSMultiTexturedParticle::areBasicCapsForced(); m_UseParticleDateAlt = _MTP->getUseLocalDateAlt();