From bc1ffdce5b4389781d9e2fdbe3a4bc69169c52b7 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 18 Aug 2023 08:51:29 +1000 Subject: [PATCH] Cleanup: spelling in comments --- intern/guardedalloc/intern/mallocn.c | 2 +- source/blender/blenkernel/BKE_pointcache.h | 2 +- source/blender/blenkernel/BKE_screen.h | 2 +- .../blender/blenkernel/intern/collection.cc | 2 +- source/blender/blenkernel/intern/node.cc | 2 +- .../blenkernel/intern/particle_system.cc | 6 +++--- .../blenloader/intern/versioning_280.cc | 2 +- .../blenloader/intern/versioning_common.cc | 2 +- .../COM_KuwaharaAnisotropicOperation.cc | 4 ++-- .../draw/engines/eevee/eevee_shaders.cc | 2 +- .../eevee/shaders/effect_temporal_aa.glsl | 6 ++++-- .../editors/animation/keyframes_general.cc | 2 +- .../blender/editors/armature/armature_add.cc | 2 +- .../intern/stroke/AdvancedFunctions0D.h | 2 +- .../intern/stroke/AdvancedFunctions1D.h | 2 +- .../blender/freestyle/intern/stroke/Chain.cpp | 2 +- .../blender/freestyle/intern/stroke/Chain.h | 2 +- .../freestyle/intern/stroke/Operators.h | 2 +- source/blender/io/usd/hydra/image.cc | 2 +- .../blender/io/usd/intern/usd_reader_mesh.h | 4 ++-- .../blender/io/usd/intern/usd_reader_stage.cc | 2 +- .../blender/io/usd/intern/usd_skel_convert.cc | 21 +++++++++---------- .../blender/io/usd/intern/usd_skel_convert.h | 8 +++---- .../simulation/intern/implicit_blender.cc | 6 +++--- .../blender/windowmanager/intern/wm_window.cc | 2 +- tools/check_source/check_spelling_c_config.py | 1 + 26 files changed, 47 insertions(+), 45 deletions(-) diff --git a/intern/guardedalloc/intern/mallocn.c b/intern/guardedalloc/intern/mallocn.c index 33bc58d6d3b..3c5524b07ac 100644 --- a/intern/guardedalloc/intern/mallocn.c +++ b/intern/guardedalloc/intern/mallocn.c @@ -18,7 +18,7 @@ #include "mallocn_intern.h" #ifdef WITH_JEMALLOC_CONF -/* If jemalloc is used, it reads this global variable and enables background +/* If JEMALLOC is used, it reads this global variable and enables background * threads to purge dirty pages. Otherwise we release memory too slowly or not * at all if the thread that did the allocation stays inactive. */ const char *malloc_conf = "background_thread:true,dirty_decay_ms:4000"; diff --git a/source/blender/blenkernel/BKE_pointcache.h b/source/blender/blenkernel/BKE_pointcache.h index b9799588d46..c9a055578bc 100644 --- a/source/blender/blenkernel/BKE_pointcache.h +++ b/source/blender/blenkernel/BKE_pointcache.h @@ -249,7 +249,7 @@ typedef struct PTCacheEdit { struct ParticleSystemModifierData *psmd; struct ParticleSystemModifierData *psmd_eval; struct KDTree_3d *emitter_field; - /* Localspace face centers and normals (average of its verts), from the derived mesh. */ + /** Local-space face centers and normals (average of its verts), from the derived mesh. */ float *emitter_cosnos; int *mirror_cache; diff --git a/source/blender/blenkernel/BKE_screen.h b/source/blender/blenkernel/BKE_screen.h index 4782bf3c9d3..cd3711ffe27 100644 --- a/source/blender/blenkernel/BKE_screen.h +++ b/source/blender/blenkernel/BKE_screen.h @@ -107,7 +107,7 @@ typedef struct SpaceType { /** * foreach_id callback to process all ID pointers of the editor. Used indirectly by lib_query's - * #BKE_library_foreach_ID_link when #IDWALK_INCLUDE_UI bitflag is set (through WM's foreach_id + * #BKE_library_foreach_ID_link when #IDWALK_INCLUDE_UI bit-flag is set (through WM's foreach_id * usage of #BKE_screen_foreach_id_screen_area). */ void (*foreach_id)(struct SpaceLink *space_link, struct LibraryForeachIDData *data); diff --git a/source/blender/blenkernel/intern/collection.cc b/source/blender/blenkernel/intern/collection.cc index 13bc829431e..a399ce5b9e3 100644 --- a/source/blender/blenkernel/intern/collection.cc +++ b/source/blender/blenkernel/intern/collection.cc @@ -2200,7 +2200,7 @@ static void scene_objects_iterator_begin(BLI_Iterator *iter, Scene *scene, GSet data->visited = BLI_gset_ptr_new(__func__); } - /* We wrap the scenecollection iterator here to go over the scene collections. */ + /* We wrap the scene-collection iterator here to go over the scene collections. */ BKE_scene_collections_iterator_begin(&data->scene_collection_iter, scene); Collection *collection = static_cast(data->scene_collection_iter.current); diff --git a/source/blender/blenkernel/intern/node.cc b/source/blender/blenkernel/intern/node.cc index 5d08032a170..838483ce2b5 100644 --- a/source/blender/blenkernel/intern/node.cc +++ b/source/blender/blenkernel/intern/node.cc @@ -3359,7 +3359,7 @@ void nodeRemoveNode(Main *bmain, bNodeTree *ntree, bNode *node, const bool do_id { BLI_assert(ntree != nullptr); /* This function is not for localized node trees, we do not want - * do to ID user reference-counting and removal of animdation data then. */ + * do to ID user reference-counting and removal of animation data then. */ BLI_assert((ntree->id.tag & LIB_TAG_LOCALIZED) == 0); bool node_has_id = false; diff --git a/source/blender/blenkernel/intern/particle_system.cc b/source/blender/blenkernel/intern/particle_system.cc index 531edef1b24..e5ac92b0ad5 100644 --- a/source/blender/blenkernel/intern/particle_system.cc +++ b/source/blender/blenkernel/intern/particle_system.cc @@ -1493,7 +1493,7 @@ static void integrate_particle( madd_v3_v3v3fl(states[1].co, states->co, states->vel, dtime * 0.5f); madd_v3_v3v3fl(states[1].vel, states->vel, acceleration, dtime * 0.5f); states[1].time = dtime * 0.5f; - /*fra=sim->psys->cfra+0.5f*dfra;*/ + // fra = sim->psys->cfra + 0.5f * dfra; } else { madd_v3_v3v3fl(pa->state.co, states->co, states[1].vel, dtime); @@ -1511,7 +1511,7 @@ static void integrate_particle( madd_v3_v3v3fl(states[1].co, states->co, dx[0], 0.5f); madd_v3_v3v3fl(states[1].vel, states->vel, dv[0], 0.5f); states[1].time = dtime * 0.5f; - /*fra=sim->psys->cfra+0.5f*dfra;*/ + // fra = sim->psys->cfra + 0.5f * dfra; break; case 1: madd_v3_v3v3fl(dx[1], states->vel, dv[0], 0.5f); @@ -1532,7 +1532,7 @@ static void integrate_particle( add_v3_v3v3(states[3].co, states->co, dx[2]); add_v3_v3v3(states[3].vel, states->vel, dv[2]); states[3].time = dtime; - /*fra=cfra;*/ + // fra = cfra; break; case 3: add_v3_v3v3(dx[3], states->vel, dv[2]); diff --git a/source/blender/blenloader/intern/versioning_280.cc b/source/blender/blenloader/intern/versioning_280.cc index 3da569727d7..dd2bccf3284 100644 --- a/source/blender/blenloader/intern/versioning_280.cc +++ b/source/blender/blenloader/intern/versioning_280.cc @@ -2915,7 +2915,7 @@ void do_versions_after_linking_280(FileData *fd, Main *bmain) } } - /* 2.8x dropped support for non-empty dupli instances. but propoer do-versionning was never + /* 2.8x dropped support for non-empty dupli instances. but proper do-versioning was never * done correctly. So added here as a 'safe' place version wise, always better than in * readfile lib-linking code! */ LISTBASE_FOREACH (Object *, ob, &bmain->objects) { diff --git a/source/blender/blenloader/intern/versioning_common.cc b/source/blender/blenloader/intern/versioning_common.cc index f2a205c307d..05d85be73db 100644 --- a/source/blender/blenloader/intern/versioning_common.cc +++ b/source/blender/blenloader/intern/versioning_common.cc @@ -492,7 +492,7 @@ void do_versions_after_setup(Main *new_bmain, BlendFileReadReport *reports) * decision to apply some versioning on some data should mostly rely on the data itself. * - Unlike the regular do_version code, this one should _not_ be assumed as 'valid forever'. * It is closer to the Editing or BKE code in that respect, changes to the logic or data - * model of an ID will require carefull update here as well. + * model of an ID will require a careful update here as well. * * Another critical weakness of this code is that it is currently _not_ performed on data linked * during an editing session, but only on data linked while reading a whole blendfile. This will diff --git a/source/blender/compositor/operations/COM_KuwaharaAnisotropicOperation.cc b/source/blender/compositor/operations/COM_KuwaharaAnisotropicOperation.cc index 1c961265984..7566af4bf28 100644 --- a/source/blender/compositor/operations/COM_KuwaharaAnisotropicOperation.cc +++ b/source/blender/compositor/operations/COM_KuwaharaAnisotropicOperation.cc @@ -206,7 +206,7 @@ void KuwaharaAnisotropicOperation::execute_pixel_sampled(float output[4], float2 rotated_disk_point = M_SQRT1_2 * float2(disk_point.x - disk_point.y, disk_point.x + disk_point.y); - /* Finally, we compute every other odd-index 4 weights starting from the 45 degreed rotated + /* Finally, we compute every other odd-index 4 weights starting from the 45 degree rotated * disk point. */ float2 rotated_polynomial = sector_center_overlap_parameter - cross_sector_overlap_parameter * square(rotated_disk_point); @@ -453,7 +453,7 @@ void KuwaharaAnisotropicOperation::update_memory_buffer_partial(MemoryBuffer *ou float2 rotated_disk_point = M_SQRT1_2 * float2(disk_point.x - disk_point.y, disk_point.x + disk_point.y); - /* Finally, we compute every other odd-index 4 weights starting from the 45 degreed rotated + /* Finally, we compute every other odd-index 4 weights starting from the 45 degree rotated * disk point. */ float2 rotated_polynomial = sector_center_overlap_parameter - cross_sector_overlap_parameter * square(rotated_disk_point); diff --git a/source/blender/draw/engines/eevee/eevee_shaders.cc b/source/blender/draw/engines/eevee/eevee_shaders.cc index 504202416ea..5e402b5672c 100644 --- a/source/blender/draw/engines/eevee/eevee_shaders.cc +++ b/source/blender/draw/engines/eevee/eevee_shaders.cc @@ -650,7 +650,7 @@ GPUShader *EEVEE_shaders_cryptomatte_sh_get(bool is_hair) /** \} */ /* -------------------------------------------------------------------- */ -/** \name Raytraced Reflections +/** \name Ray-Traced Reflections * \{ */ GPUShader *EEVEE_shaders_effect_reflection_trace_sh_get() diff --git a/source/blender/draw/engines/eevee/shaders/effect_temporal_aa.glsl b/source/blender/draw/engines/eevee/shaders/effect_temporal_aa.glsl index da9c278dbfe..f3b290b5901 100644 --- a/source/blender/draw/engines/eevee/shaders/effect_temporal_aa.glsl +++ b/source/blender/draw/engines/eevee/shaders/effect_temporal_aa.glsl @@ -2,13 +2,15 @@ #pragma BLENDER_REQUIRE(common_math_lib.glsl) #pragma BLENDER_REQUIRE(common_view_lib.glsl) -/*uniform sampler2D colorBuffer; +#if 0 +uniform sampler2D colorBuffer; uniform depth2D depthBuffer; uniform sampler2D colorHistoryBuffer; uniform mat4 prevViewProjectionMatrix; -out vec4 FragColor;*/ +out vec4 FragColor; +#endif #ifdef USE_REPROJECTION diff --git a/source/blender/editors/animation/keyframes_general.cc b/source/blender/editors/animation/keyframes_general.cc index 704c907545a..d695ec6374e 100644 --- a/source/blender/editors/animation/keyframes_general.cc +++ b/source/blender/editors/animation/keyframes_general.cc @@ -800,7 +800,7 @@ bool match_slope_fcurve_segment(FCurve *fcu, FCurveSegment *segment, const float } /* This delta values are used to get the relationship between the bookend keys and the - * reference keys beyong those. */ + * reference keys beyond those. */ const float y_delta = beyond_key.vec[1][1] - reference_key->vec[1][1]; const float x_delta = beyond_key.vec[1][0] - reference_key->vec[1][0]; diff --git a/source/blender/editors/armature/armature_add.cc b/source/blender/editors/armature/armature_add.cc index 26d5435f2fa..b9265427551 100644 --- a/source/blender/editors/armature/armature_add.cc +++ b/source/blender/editors/armature/armature_add.cc @@ -1179,7 +1179,7 @@ static int armature_symmetrize_exec(bContext *C, wmOperator *op) EditBone *ebone = ED_armature_ebone_find_name(arm->edbo, name_flip); if (!ebone) { - /* The ebone_iter is unique and mirrorable. */ + /* The ebone_iter is unique and mirror-able. */ continue; } diff --git a/source/blender/freestyle/intern/stroke/AdvancedFunctions0D.h b/source/blender/freestyle/intern/stroke/AdvancedFunctions0D.h index 6a830cac098..5212e8a2f6b 100644 --- a/source/blender/freestyle/intern/stroke/AdvancedFunctions0D.h +++ b/source/blender/freestyle/intern/stroke/AdvancedFunctions0D.h @@ -110,7 +110,7 @@ class ReadMapPixelF0D : public UnaryFunction0D { }; // ReadSteerableViewMapPixel -/** Reads a pixel in one of the level of one of the steerable viewmaps. */ +/** Reads a pixel in one of the level of one of the steerable view-maps. */ class ReadSteerableViewMapPixelF0D : public UnaryFunction0D { private: uint _orientation; diff --git a/source/blender/freestyle/intern/stroke/AdvancedFunctions1D.h b/source/blender/freestyle/intern/stroke/AdvancedFunctions1D.h index b9a0b69f7f2..1d2a434af2c 100644 --- a/source/blender/freestyle/intern/stroke/AdvancedFunctions1D.h +++ b/source/blender/freestyle/intern/stroke/AdvancedFunctions1D.h @@ -148,7 +148,7 @@ class GetCompleteViewMapDensityF1D : public UnaryFunction1D { }; // GetDirectionalViewMapDensity -/** Returns the density evaluated for an Interface1D in of the steerable viewmaps image. +/** Returns the density evaluated for an Interface1D in of the steerable view-maps image. * The direction telling which Directional map to choose is explicitly specified by the user. * The density is evaluated for a set of points along the Interface1D * (using the ReadSteerableViewMapPixelF0D functor) diff --git a/source/blender/freestyle/intern/stroke/Chain.cpp b/source/blender/freestyle/intern/stroke/Chain.cpp index 3e9628cc921..72b47a5c630 100644 --- a/source/blender/freestyle/intern/stroke/Chain.cpp +++ b/source/blender/freestyle/intern/stroke/Chain.cpp @@ -4,7 +4,7 @@ /** \file * \ingroup freestyle - * \brief Class to define a chain of viewedges. + * \brief Class to define a chain of view-edges. */ #include "Chain.h" diff --git a/source/blender/freestyle/intern/stroke/Chain.h b/source/blender/freestyle/intern/stroke/Chain.h index 65d65293199..ce0bbd86ff0 100644 --- a/source/blender/freestyle/intern/stroke/Chain.h +++ b/source/blender/freestyle/intern/stroke/Chain.h @@ -6,7 +6,7 @@ /** \file * \ingroup freestyle - * \brief Class to define a chain of viewedges. + * \brief Class to define a chain of view-edges. */ #include "Curve.h" diff --git a/source/blender/freestyle/intern/stroke/Operators.h b/source/blender/freestyle/intern/stroke/Operators.h index 08eb9008e12..d8ef00a9c1c 100644 --- a/source/blender/freestyle/intern/stroke/Operators.h +++ b/source/blender/freestyle/intern/stroke/Operators.h @@ -198,7 +198,7 @@ class Operators { UnaryPredicate1D &pred, float sampling = 0.0f); - /** Sorts the current set of chains (or viewedges) + /** Sorts the current set of chains (or view-edges) * according to the comparison predicate given as argument. * \param pred: * The binary predicate used for the comparison diff --git a/source/blender/io/usd/hydra/image.cc b/source/blender/io/usd/hydra/image.cc index 1812c6f3388..6ba5ce3323a 100644 --- a/source/blender/io/usd/hydra/image.cc +++ b/source/blender/io/usd/hydra/image.cc @@ -101,7 +101,7 @@ std::string cache_or_get_image_file(Main *bmain, Scene *scene, Image *image, Ima ipf->packedfile, PF_WRITE_LOCAL); - /* Take first succesfully unpacked image. */ + /* Take first successfully unpacked image. */ if (cached_path != nullptr) { if (file_path.empty()) { file_path = cached_path; diff --git a/source/blender/io/usd/intern/usd_reader_mesh.h b/source/blender/io/usd/intern/usd_reader_mesh.h index 9355c0902d3..90fde134fe6 100644 --- a/source/blender/io/usd/intern/usd_reader_mesh.h +++ b/source/blender/io/usd/intern/usd_reader_mesh.h @@ -57,8 +57,8 @@ class USDMeshReader : public USDGeomReader { bool topology_changed(const Mesh *existing_mesh, double motionSampleTime) override; /** - * If the USD mesh prim has a valid UsdSkel schema defined, return the USD path - * string to the bound skeleton, if any. Returns the empty string if no skeleton + * If the USD mesh prim has a valid `UsdSkel` schema defined, return the USD path + * string to the bound skeleton, if any. Returns the empty string if no skeleton * binding is defined. * * The returned path is currently used to match armature modifiers with armature diff --git a/source/blender/io/usd/intern/usd_reader_stage.cc b/source/blender/io/usd/intern/usd_reader_stage.cc index 7f91507741a..a908e5b11d6 100644 --- a/source/blender/io/usd/intern/usd_reader_stage.cc +++ b/source/blender/io/usd/intern/usd_reader_stage.cc @@ -335,7 +335,7 @@ void USDStageReader::collect_readers(Main *bmain) void USDStageReader::process_armature_modifiers() const { - /* Iteratate over the skeleton readers to create the + /* Iterate over the skeleton readers to create the * armature object map, which maps a USD skeleton prim * path to the corresponding armature object. */ std::map usd_path_to_armature; diff --git a/source/blender/io/usd/intern/usd_skel_convert.cc b/source/blender/io/usd/intern/usd_skel_convert.cc index 5fa3492cb59..250ade50838 100644 --- a/source/blender/io/usd/intern/usd_skel_convert.cc +++ b/source/blender/io/usd/intern/usd_skel_convert.cc @@ -206,7 +206,7 @@ void import_skeleton_curves(Main *bmain, /* The curve for each joint represents the transform relative * to the bind transform in joint-local space. I.e., * - * jointLocalTransform * inv(jointLocalBindTransform) + * `jointLocalTransform * inv(jointLocalBindTransform)` * * There doesn't appear to be a way to query the joint-local * bind transform through the API, so we have to compute it @@ -418,8 +418,8 @@ void import_blendshapes(Main *bmain, KeyBlock *kb = BKE_keyblock_add(key, "Basis"); BKE_keyblock_convert_from_mesh(mesh, key, kb); - /* Keep track of the shapkeys we're adding, for - * validation when creating curves later. */ + /* Keep track of the shape-keys we're adding, + * for validation when creating curves later. */ std::set shapekey_names; for (int i = 0; i < targets.size(); ++i) { @@ -431,7 +431,7 @@ void import_blendshapes(Main *bmain, continue; } - /* Get the blend shape offests. */ + /* Get the blend shape offsets. */ if (!blendshape.GetOffsetsAttr().HasAuthoredValue()) { /* Blend shape has no authored offsets. */ continue; @@ -576,7 +576,7 @@ void import_blendshapes(Main *bmain, for (auto blendshape_name : blendshapes) { if (shapekey_names.find(blendshape_name) == shapekey_names.end()) { - /* We didn't create a shapekey fo this blendshape, so we don't + /* We didn't create a shape-key for this blend-shape, so we don't * create a curve and insert a null placeholder in the curve array. */ curves.push_back(nullptr); continue; @@ -706,13 +706,13 @@ void import_skeleton(Main *bmain, /* Check if any bone matrices have negative determinants, * indicating negative scales, possibly due to mirroring - * operations. Such matrices can't be propery converted + * operations. Such matrices can't be properly converted * to Blender's axis/roll bone representation (see * https://projects.blender.org/blender/blender/issues/82930). * If we detect such matrices, we will flag an error and won't * try to import the animation, since the rotations would - * be incorrect in such cases. Unfortunately, the Pixar - * UsdSkel examples of the "HumanFemale" suffer from + * be incorrect in such cases. Unfortunately, the Pixar + * `UsdSkel` examples of the "HumanFemale" suffer from * this issue. */ bool negative_determinant = false; @@ -903,9 +903,8 @@ void import_mesh_skel_bindings(Main *bmain, Object *mesh_obj, const pxr::UsdPrim return; } - /* Element size specifies the number of joints that might influece a given point. - * This is the stride we take when accessing the indices and weights for a - * given point. */ + /* Element size specifies the number of joints that might influence a given point. + * This is the stride we take when accessing the indices and weights for a given point. */ int joint_indices_elem_size = joint_indices_primvar.GetElementSize(); int joint_weights_elem_size = joint_weights_primvar.GetElementSize(); diff --git a/source/blender/io/usd/intern/usd_skel_convert.h b/source/blender/io/usd/intern/usd_skel_convert.h index 0cc4b1c3443..aa130980b15 100644 --- a/source/blender/io/usd/intern/usd_skel_convert.h +++ b/source/blender/io/usd/intern/usd_skel_convert.h @@ -18,9 +18,9 @@ namespace blender::io::usd { struct ImportSettings; /** - * This file contains utilities for converting between UsdSkel data and + * This file contains utilities for converting between `UsdSkel` data and * Blender armatures and shape keys. The following is a reference on the - * UsdSkel API: + * `UsdSkel` API: * * https://openusd.org/23.05/api/usd_skel_page_front.html */ @@ -34,7 +34,7 @@ struct ImportSettings; * * \param bmain: Main pointer * \param mesh_obj: Mesh object to which imported shape keys will be added - * \param prim: The USD primitive from which blendshapes will be imported + * \param prim: The USD primitive from which blend-shapes will be imported * \param import_anim: Whether to import time-sampled weights as shape key * animation curves */ @@ -49,7 +49,7 @@ void import_blendshapes(Main *bmain, * imported as bone animation curves. * * \param bmain: Main pointer - * \param arm_obj: Armature object to which the bone hierachy will be added + * \param arm_obj: Armature object to which the bone hierarchy will be added * \param skel: The USD skeleton from which bones and animation will be imported * \param import_anim: Whether to import time-sampled joint transforms as bone * animation curves diff --git a/source/blender/simulation/intern/implicit_blender.cc b/source/blender/simulation/intern/implicit_blender.cc index 7236212971f..78ee230cd27 100644 --- a/source/blender/simulation/intern/implicit_blender.cc +++ b/source/blender/simulation/intern/implicit_blender.cc @@ -791,16 +791,16 @@ static int cg_filtered(lfVector *ldV, fmatrix3x3 *lA, lfVector *lB, lfVector *z, a = s / dot_lfvector(d, q, numverts); - /* X = X + d*a; */ + /* `X = X + d*a;` */ add_lfvector_lfvectorS(ldV, ldV, d, a, numverts); - /* r = r - q*a; */ + /* `r = r - q*a;` */ sub_lfvector_lfvectorS(r, r, q, a, numverts); s_prev = s; s = dot_lfvector(r, r, numverts); - // d = r+d*(s/s_prev); + /* `d = r+d*(s/s_prev);` */ add_lfvector_lfvectorS(d, r, d, (s / s_prev), numverts); filter(d, S); diff --git a/source/blender/windowmanager/intern/wm_window.cc b/source/blender/windowmanager/intern/wm_window.cc index f32f15285bf..0c319a6ae94 100644 --- a/source/blender/windowmanager/intern/wm_window.cc +++ b/source/blender/windowmanager/intern/wm_window.cc @@ -1517,7 +1517,7 @@ static bool ghost_event_proc(GHOST_EventHandle evt, GHOST_TUserDataPtr C_void_pt int icon = ED_file_extension_icon((char *)stra->strings[a]); wmDragPath *path_data = WM_drag_create_path_data((char *)stra->strings[a]); WM_event_start_drag(C, icon, WM_DRAG_PATH, path_data, 0.0, WM_DRAG_NOP); - /* void poin should point to string, it makes a copy */ + /* Void pointer should point to string, it makes a copy. */ break; /* only one drop element supported now */ } } diff --git a/tools/check_source/check_spelling_c_config.py b/tools/check_source/check_spelling_c_config.py index 7ee416b9370..a1847db6393 100644 --- a/tools/check_source/check_spelling_c_config.py +++ b/tools/check_source/check_spelling_c_config.py @@ -87,6 +87,7 @@ dict_custom = { "decrement", "decrementing", "deduplicate", + "deduplicated", "deduplicates", "deduplicating", "deduplication",