diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-02-09 12:30:54 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-02-09 14:31:28 +0300 |
commit | 62195fb5b37d3938e3878af149073f1b3ce945db (patch) | |
tree | 236f870ee3be4d0b87e3bf28ccbedb27b4f01f08 /source/blender/editors | |
parent | ee585b9c213a28b3c9877482bde6254fdbd7a245 (diff) |
Cleanup: comments, replace 'undoes' with 'undo-steps'
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/undo/memfile_undo.c | 4 | ||||
-rw-r--r-- | source/blender/editors/util/ed_util.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/undo/memfile_undo.c b/source/blender/editors/undo/memfile_undo.c index c0a1579b0fd..4fd8c180a4b 100644 --- a/source/blender/editors/undo/memfile_undo.c +++ b/source/blender/editors/undo/memfile_undo.c @@ -314,8 +314,8 @@ struct MemFile *ED_undosys_stack_memfile_get_active(UndoStack *ustack) * If the last undo step is a memfile one, find the first #MemFileChunk matching given ID * (using its session UUID), and tag it as "changed in the future". * - * Since non-memfile undoes cannot automatically set this flag in the previous step as done with - * memfile ones, this has to be called manually by relevant undo code. + * Since non-memfile undo-steps cannot automatically set this flag in the previous step as done + * with memfile ones, this has to be called manually by relevant undo code. * * \note Only current known case for this is undoing a switch from Object to Sculpt mode (see * T82388). diff --git a/source/blender/editors/util/ed_util.c b/source/blender/editors/util/ed_util.c index 4f24975fafa..695db9ba246 100644 --- a/source/blender/editors/util/ed_util.c +++ b/source/blender/editors/util/ed_util.c @@ -183,7 +183,7 @@ void ED_editors_exit(Main *bmain, bool do_undo_system) return; } - /* Frees all edit-mode undoes. */ + /* Frees all edit-mode undo-steps. */ if (do_undo_system && G_MAIN->wm.first) { wmWindowManager *wm = G_MAIN->wm.first; /* normally we don't check for NULL undo stack, |