Cleanup: spelling in comments

This commit is contained in:
Campbell Barton 2023-10-05 13:07:58 +11:00
parent 385e73e30b
commit c9130e38e3
4 changed files with 8 additions and 7 deletions

View File

@ -495,7 +495,7 @@ extern "C" int GHOST_HACK_getFirstFile(char buf[FIRSTFILEBUFLG])
}
}
/* Explicitly opt-in to the secure codeing for the restorable state.
/* Explicitly opt-in to the secure coding for the restorable state.
*
* This is something that only has affect on macOS 12+, and is implicitly
* enabled on macOS 14.

View File

@ -44,7 +44,7 @@ static eStrCursorDelimType cursor_delim_type_unicode(const uint uch)
switch (uch) {
case ',':
case '.':
case 0x2026: /* Horizontal elipsis. */
case 0x2026: /* Horizontal ellipsis. */
case 0x3002: /* CJK full width full stop. */
case 0xFF0C: /* CJK full width comma. */
case 0xFF61: /* CJK half width full stop. */

View File

@ -2411,9 +2411,9 @@ void do_versions_after_linking_280(FileData *fd, Main *bmain)
}
if (!MAIN_VERSION_FILE_ATLEAST(bmain, 280, 14)) {
/* This code fixes crashes when loading early 2.80 dev files, due to the lack of a master
* collection after removal of the versioning code handling the 'SceneCollection' data that was
* part of the very early 2.80 development (commit 23835a393c).
/* This code fixes crashes when loading early 2.80 development files, due to the lack of a
* master collection after removal of the versioning code handling the 'SceneCollection' data
* that was part of the very early 2.80 development (commit 23835a393c).
*
* NOTE: This code only ensures that there is no crash, since the whole collection hierarchy
* from these files remain lost, these files will still need a lot of manual work if one want
@ -2422,8 +2422,8 @@ void do_versions_after_linking_280(FileData *fd, Main *bmain)
LISTBASE_FOREACH (Scene *, scene, &bmain->scenes) {
if (scene->master_collection == nullptr) {
scene->master_collection = BKE_collection_master_add(scene);
/* #BKE_layer_collection_sync accepts missing viewlayer in a scene, but not invalid ones
* where the first viewlayer's layercollection would not be for the Scene's master
/* #BKE_layer_collection_sync accepts missing view-layer in a scene, but not invalid ones
* where the first view-layer's layer-collection would not be for the Scene's master
* collection. */
LISTBASE_FOREACH (ViewLayer *, view_layer, &scene->view_layers) {
if (LayerCollection *first_layer_collection = static_cast<LayerCollection *>(

View File

@ -322,6 +322,7 @@ dict_custom = {
"rescale",
"rescaled",
"respecialized",
"restorable",
"resynced",
"resyncing",
"retiming",