diff options
Diffstat (limited to 'source/blender/editors/util/editmode_undo.c')
-rw-r--r-- | source/blender/editors/util/editmode_undo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/util/editmode_undo.c b/source/blender/editors/util/editmode_undo.c index caa5e7659f8..9be0d68e573 100644 --- a/source/blender/editors/util/editmode_undo.c +++ b/source/blender/editors/util/editmode_undo.c @@ -212,9 +212,9 @@ static void undo_clean_stack(bContext *C) if (uel->type == obedit->type) { if (strcmp(uel->id.name, obedit->id.name) == 0) { if (uel->validate_undo == NULL) - is_valid = TRUE; + is_valid = true; else if (uel->validate_undo(uel->undodata, editdata)) - is_valid = TRUE; + is_valid = true; } } if (is_valid) |