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.
This commit is contained in:
@@ -253,10 +253,11 @@ bool BLO_memfile_write_file(struct MemFile *memfile, const char *filename)
|
|||||||
|
|
||||||
for (chunk = memfile->chunks.first; chunk; chunk = chunk->next) {
|
for (chunk = memfile->chunks.first; chunk; chunk = chunk->next) {
|
||||||
#ifdef _WIN32
|
#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
|
#else
|
||||||
if ((size_t)write(file, chunk->buf, chunk->size) != chunk->size) {
|
if ((size_t)write(file, chunk->buf, chunk->size) != chunk->size)
|
||||||
#endif
|
#endif
|
||||||
|
{
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -132,7 +132,7 @@ enum {
|
|||||||
|
|
||||||
/** This collection item IDProp has been inserted in a local override.
|
/** This collection item IDProp has been inserted in a local override.
|
||||||
* This is used by internal code to distinguish between library-originated items and
|
* This is used by internal code to distinguish between library-originated items and
|
||||||
* local-insterted ones, as many operations are not allowed on the former. */
|
* local-inserted ones, as many operations are not allowed on the former. */
|
||||||
IDP_FLAG_OVERRIDELIBRARY_LOCAL = 1 << 1,
|
IDP_FLAG_OVERRIDELIBRARY_LOCAL = 1 << 1,
|
||||||
|
|
||||||
/** This means the property is set but RNA will return false when checking
|
/** This means the property is set but RNA will return false when checking
|
||||||
|
Reference in New Issue
Block a user