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>2020-09-21 07:59:31 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-09-21 08:04:09 +0300
commitb51d836fcc31eadaef34e469c68c1c99e8417958 (patch)
tree0d212983d94fe0cf02f71bb6a560ceb562bb6e62 /source/blender/blenloader/intern/undofile.c
parente14894aad2b80866eb242d2b22fe1dcda2817c0f (diff)
Cleanup: balance braces, spelling
Keep braces balanced where possible, even with ifdef's as it avoids confusions with editors calculating correct indentation level & finding matching brackets.
Diffstat (limited to 'source/blender/blenloader/intern/undofile.c')
-rw-r--r--source/blender/blenloader/intern/undofile.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/blenloader/intern/undofile.c b/source/blender/blenloader/intern/undofile.c
index 92aec13ecf1..d1f69d35fe5 100644
--- a/source/blender/blenloader/intern/undofile.c
+++ b/source/blender/blenloader/intern/undofile.c
@@ -253,10 +253,11 @@ bool BLO_memfile_write_file(struct MemFile *memfile, const char *filename)
for (chunk = memfile->chunks.first; chunk; chunk = chunk->next) {
#ifdef _WIN32
- if ((size_t)write(file, chunk->buf, (uint)chunk->size) != chunk->size) {
+ if ((size_t)write(file, chunk->buf, (uint)chunk->size) != chunk->size)
#else
- if ((size_t)write(file, chunk->buf, chunk->size) != chunk->size) {
+ if ((size_t)write(file, chunk->buf, chunk->size) != chunk->size)
#endif
+ {
break;
}
}