From ede59a48fcd6d01e9223e639090a791cbc237249 Mon Sep 17 00:00:00 2001 From: kervala Date: Tue, 12 Feb 2013 17:35:51 +0100 Subject: [PATCH] Changed: Typo fixes (Thanks to DuDraig!) --- code/nel/include/nel/misc/quat.h | 4 ++-- code/nel/src/3d/transform.cpp | 2 +- code/nel/tools/3d/plugin_max/nel_patch_paint/paint.cpp | 2 +- .../tools/3d/plugin_max/nel_patch_paint/paint_undo.cpp | 2 +- code/nel/tools/logic/logic_editor_dll/ConditionsView.cpp | 2 +- code/nel/tools/nel_unit_test/ut_net_module.h | 8 ++++---- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/code/nel/include/nel/misc/quat.h b/code/nel/include/nel/misc/quat.h index 3e8a70d5c..6703a1455 100644 --- a/code/nel/include/nel/misc/quat.h +++ b/code/nel/include/nel/misc/quat.h @@ -233,8 +233,8 @@ inline bool CQuatT::equal(const CQuatT& a, float epsilon) const template inline CQuatT CQuatT::operator*(const CQuatT& o) const { - // wres= ww´ - v·v´ - // vres= wv´ + w´v + v^v´ ] + // wres= ww' - v.v' + // vres= wv' + w'v + v^v' ] return CQuatT( (w*o.x) +(x*o.w) + (y*o.z)-(z*o.y), (w*o.y) +(y*o.w) + (z*o.x)-(x*o.z), diff --git a/code/nel/src/3d/transform.cpp b/code/nel/src/3d/transform.cpp index 65af1ebc0..c12754c57 100644 --- a/code/nel/src/3d/transform.cpp +++ b/code/nel/src/3d/transform.cpp @@ -1418,7 +1418,7 @@ void CTransform::forceCompute() } else { - // force to compûte the father + // force to compute the father if (_HrcParent) { _HrcParent->forceCompute(); diff --git a/code/nel/tools/3d/plugin_max/nel_patch_paint/paint.cpp b/code/nel/tools/3d/plugin_max/nel_patch_paint/paint.cpp index 998d5ed08..3fd00f000 100644 --- a/code/nel/tools/3d/plugin_max/nel_patch_paint/paint.cpp +++ b/code/nel/tools/3d/plugin_max/nel_patch_paint/paint.cpp @@ -4480,7 +4480,7 @@ bool CheckTri (const Point3& pos0, const Point3& pos1, const Point3& pos2, const if ((plane*pos)<0.f) return false; - // Derrière ? + // Behind ? if ((dir*(center-pos))<0.f) return false; diff --git a/code/nel/tools/3d/plugin_max/nel_patch_paint/paint_undo.cpp b/code/nel/tools/3d/plugin_max/nel_patch_paint/paint_undo.cpp index baccda17d..775278284 100644 --- a/code/nel/tools/3d/plugin_max/nel_patch_paint/paint_undo.cpp +++ b/code/nel/tools/3d/plugin_max/nel_patch_paint/paint_undo.cpp @@ -9,7 +9,7 @@ void CTileUndo::toUndo ( const CUndoElement& undoList ) { - // ¨Push in the toundo list + // Push in the toundo list _ToUndoList.push_back (undoList); } diff --git a/code/nel/tools/logic/logic_editor_dll/ConditionsView.cpp b/code/nel/tools/logic/logic_editor_dll/ConditionsView.cpp index a0bd40c57..5cab8c7ff 100644 --- a/code/nel/tools/logic/logic_editor_dll/ConditionsView.cpp +++ b/code/nel/tools/logic/logic_editor_dll/ConditionsView.cpp @@ -71,7 +71,7 @@ END_MESSAGE_MAP() // Creating Drag Image for a CTreeCtrl without images -// Contribution of Pål K Tønder on www.codeguru.com +// Contribution of Pal K Tonder on www.codeguru.com // The method CreateDragImage is used during drag'n drop to create a drag image. The problem is that it only works for a CTreeCtrl with images. // The following method, CreateDragImageEx, checks whether the CTreeCtrl has a valid normal CImageList. If so, it just calls the standard CreateDragImage method and returns. // If, on the other hand, no valid CImageList is found, a bitmap is created based on the size of item rect, and the item text is drawn into it. Then a CImageList is diff --git a/code/nel/tools/nel_unit_test/ut_net_module.h b/code/nel/tools/nel_unit_test/ut_net_module.h index 2fb1d2cb1..1ccc007cb 100644 --- a/code/nel/tools/nel_unit_test/ut_net_module.h +++ b/code/nel/tools/nel_unit_test/ut_net_module.h @@ -2880,16 +2880,16 @@ public: { NLNET::TParsedCommandLine mif; - string paramString = " a=1 b=2 ( b=1) "; + string paramString = " a=1 b=2 ( b=1) "; TEST_ASSERT(!mif.parseParamList(paramString)); - paramString = " lswkd ,fpqoj(( çruq fzemfwijf ujr wmozejifp_zujf woijpç_u ' "; + paramString = " lswkd ,fpqoj(( cruq fzemfwijf ujr wmozejifp_zujf woijpc_u ' "; TEST_ASSERT(!mif.parseParamList(paramString)); - paramString = "a ( b=2"; + paramString = "a ( b=2"; TEST_ASSERT(!mif.parseParamList(paramString)); - paramString = "a b=2)"; + paramString = "a b=2)"; TEST_ASSERT(!mif.parseParamList(paramString)); paramString = "a b=2\"toto\"";