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>2013-06-01 02:35:25 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-06-01 02:35:25 +0400
commit3e97e2c8e812e32de35d01c7692477686154a521 (patch)
tree6b264510d2a6e37332cfc0d63999df02eacb1b0a /source/blender/editors/space_text
parentb577f0c16ebf16d9cf73e103143a6c7466421c61 (diff)
style cleanup
Diffstat (limited to 'source/blender/editors/space_text')
-rw-r--r--source/blender/editors/space_text/text_ops.c3
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)