Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-10-06 06:44:27 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-10-06 06:54:05 +0300
commitdf8f507f411fd71e649e9a896f53c2e574558525 (patch)
treec248e58ff8eb31e27ca9a1aae2bc76b8bb4dd3a7 /source/blender/blenkernel/intern/vfont.c
parentbf35dba7fbab568e857b85e9a74ae0f1eb5838f6 (diff)
Cleanup: spelling in comments
Diffstat (limited to 'source/blender/blenkernel/intern/vfont.c')
-rw-r--r--source/blender/blenkernel/intern/vfont.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/blenkernel/intern/vfont.c b/source/blender/blenkernel/intern/vfont.c
index 01c232e5a70..43c8a59baad 100644
--- a/source/blender/blenkernel/intern/vfont.c
+++ b/source/blender/blenkernel/intern/vfont.c
@@ -342,12 +342,12 @@ VFont *BKE_vfont_load(Main *bmain, const char *filepath)
vfont->data = vfd;
BLI_strncpy(vfont->filepath, filepath, sizeof(vfont->filepath));
- /* if autopack is on store the packedfile in de font structure */
+ /* if auto-pack is on store the packed-file in de font structure */
if (!is_builtin && (G.fileflags & G_FILE_AUTOPACK)) {
vfont->packedfile = pf;
}
- /* Do not add FO_BUILTIN_NAME to temporary listbase */
+ /* Do not add #FO_BUILTIN_NAME to temporary list-base. */
if (!STREQ(filename, FO_BUILTIN_NAME)) {
vfont->temp_pf = BKE_packedfile_new(NULL, filepath, BKE_main_blendfile_path(bmain));
}
@@ -694,7 +694,7 @@ struct TempLineInfo {
float x_min; /* left margin */
float x_max; /* right margin */
int char_nr; /* number of characters */
- int wspace_nr; /* number of whitespaces of line */
+ int wspace_nr; /* number of white-spaces of line */
};
/* -------------------------------------------------------------------- */
@@ -803,7 +803,7 @@ static bool vfont_to_curve(Object *ob,
float longest_line_length = 0.0f;
/* Text at the beginning of the last used text-box (use for y-axis alignment).
- * We overallocate by one to simplify logic of getting last char. */
+ * We over-allocate by one to simplify logic of getting last char. */
int *i_textbox_array = MEM_callocN(sizeof(*i_textbox_array) * (cu->totbox + 1),
"TextBox initial char index");
@@ -1136,7 +1136,7 @@ static bool vfont_to_curve(Object *ob,
}
}
- /* linedata is now: width of line */
+ /* Line-data is now: width of line. */
if (cu->spacemode != CU_ALIGN_X_LEFT) {
ct = chartransdata;
@@ -1500,7 +1500,7 @@ static bool vfont_to_curve(Object *ob,
chartransdata = NULL;
}
else if (mode == FO_EDIT) {
- /* make nurbdata */
+ /* Make NURBS-data. */
BKE_nurbList_free(r_nubase);
ct = chartransdata;