diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-06-01 02:35:25 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-06-01 02:35:25 +0400 |
commit | 3e97e2c8e812e32de35d01c7692477686154a521 (patch) | |
tree | 6b264510d2a6e37332cfc0d63999df02eacb1b0a /source/blender/editors/space_text/text_ops.c | |
parent | b577f0c16ebf16d9cf73e103143a6c7466421c61 (diff) |
style cleanup
Diffstat (limited to 'source/blender/editors/space_text/text_ops.c')
-rw-r--r-- | source/blender/editors/space_text/text_ops.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/space_text/text_ops.c b/source/blender/editors/space_text/text_ops.c index 7b258e0eafb..04675430339 100644 --- a/source/blender/editors/space_text/text_ops.c +++ b/source/blender/editors/space_text/text_ops.c @@ -502,8 +502,7 @@ static void txt_write_file(Text *text, ReportList *reports) filepath, errno ? strerror(errno) : TIP_("unknown error stating file")); } - if (text->flags & TXT_ISDIRTY) - text->flags ^= TXT_ISDIRTY; + text->flags &= ~TXT_ISDIRTY; } static int text_save_exec(bContext *C, wmOperator *op) |