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-02-09 12:30:54 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-02-09 14:31:28 +0300
commit62195fb5b37d3938e3878af149073f1b3ce945db (patch)
tree236f870ee3be4d0b87e3bf28ccbedb27b4f01f08 /source/blender/blenkernel/intern/undo_system.c
parentee585b9c213a28b3c9877482bde6254fdbd7a245 (diff)
Cleanup: comments, replace 'undoes' with 'undo-steps'
Diffstat (limited to 'source/blender/blenkernel/intern/undo_system.c')
-rw-r--r--source/blender/blenkernel/intern/undo_system.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/undo_system.c b/source/blender/blenkernel/intern/undo_system.c
index baa96ca1455..bb871e84c7b 100644
--- a/source/blender/blenkernel/intern/undo_system.c
+++ b/source/blender/blenkernel/intern/undo_system.c
@@ -287,7 +287,7 @@ void BKE_undosys_stack_clear(UndoStack *ustack)
void BKE_undosys_stack_clear_active(UndoStack *ustack)
{
- /* Remove active and all following undoes. */
+ /* Remove active and all following undo-steps. */
UndoStep *us = ustack->step_active;
if (us) {
@@ -517,7 +517,7 @@ UndoPushReturn BKE_undosys_step_push_with_type(UndoStack *ustack,
retval |= UNDO_PUSH_RET_OVERRIDE_CHANGED;
}
- /* Remove all undoes after (also when 'ustack->step_active == NULL'). */
+ /* Remove all undo-steps after (also when 'ustack->step_active == NULL'). */
while (ustack->steps.last != ustack->step_active) {
UndoStep *us_iter = ustack->steps.last;
undosys_step_free_and_unlink(ustack, us_iter);