commit 39229d66530452f2981389409df646172141cdad
parent 7022ea9b0576406ac1cdb4491384161e7137c45c
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date: Fri, 8 Feb 2019 11:10:32 +0100
Fix comments
Diffstat:
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/senc2d.h b/src/senc2d.h
@@ -293,7 +293,7 @@ senc2d_descriptor_ref_put
* case the 2 occurences of the segment have reversed vertices order and
* unique_segment_count and segment_count differ.
* By-index API accesses of segments (or properties) visit unique segments
- * for indexes in the [0 unique_segment_count[ range and back-faces of the
+ * for indices in the [0 unique_segment_count[ range and back-faces of the
* doubly-listed segments in the [unique_segment_count segment_count[ range.
******************************************************************************/
SENC2D_API res_T
diff --git a/src/senc2d_scene_analyze.c b/src/senc2d_scene_analyze.c
@@ -141,7 +141,7 @@ extract_connex_components
struct s2d_scene_view** s2d_view,
ATOMIC* component_count,
/* Shared error status.
- * We accept to overwritte an error with a different error */
+ * We accept to overwrite an error with a different error */
res_T* p_res)
{
/* This function is called from an omp parallel block and executed
@@ -532,7 +532,7 @@ group_connex_components
struct s2d_scene_view* s2d_view,
ATOMIC* next_enclosure_id,
/* Shared error status.
- * We accept to overwritte an error with a different error */
+ * We accept to overwrite an error with a different error */
res_T* res)
{
/* This function is called from an omp parallel block and executed
@@ -670,7 +670,7 @@ collect_and_link_neighbours
struct darray_segment_tmp* segments_tmp_array,
struct darray_neighbourhood* neighbourhood_by_vertex,
/* Shared error status.
- * We accept to overwritte an error with a different error */
+ * We accept to overwrite an error with a different error */
res_T* res)
{
/* This function is called from an omp parallel block and executed
@@ -893,7 +893,7 @@ build_result
const struct darray_ptr_component_descriptor* connex_components,
const struct darray_segment_comp* segments_comp_array,
/* Shared error status.
- * We accept to overwritte an error with a different error */
+ * We accept to overwrite an error with a different error */
res_T* res)
{
/* This function is called from an omp parallel block and executed
diff --git a/src/test_senc2d_scene.c b/src/test_senc2d_scene.c
@@ -215,7 +215,7 @@ main(int argc, char** argv)
CHK(senc2d_scene_add_geometry(scn, nsegments, get_indices, get_media, NULL,
nvertices, get_position, &ctx) == RES_BAD_ARG);
- /* It is OK dd geometry after a failed add */
+ /* It is OK add geometry after a failed add */
ctx.back_media = medium1;
CHK(senc2d_scene_add_geometry(scn, nsegments, get_indices, get_media, NULL,
nvertices, get_position, &ctx) == RES_OK);