diff options
Diffstat (limited to 'source/blender/imbuf/intern')
-rw-r--r-- | source/blender/imbuf/intern/metadata.c | 2 | ||||
-rw-r--r-- | source/blender/imbuf/intern/png.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/imbuf/intern/metadata.c b/source/blender/imbuf/intern/metadata.c index 885823aa5fe..21185121afc 100644 --- a/source/blender/imbuf/intern/metadata.c +++ b/source/blender/imbuf/intern/metadata.c @@ -72,7 +72,7 @@ bool IMB_metadata_get_field(struct ImBuf *img, const char *key, char *field, con prop = IDP_GetPropertyFromGroup(img->metadata ,key); - if(prop && prop->type == IDP_STRING){ + if (prop && prop->type == IDP_STRING) { BLI_strncpy(field, IDP_String(prop), len); retval = true; } diff --git a/source/blender/imbuf/intern/png.c b/source/blender/imbuf/intern/png.c index 6b31b3e965b..683bdabcd6c 100644 --- a/source/blender/imbuf/intern/png.c +++ b/source/blender/imbuf/intern/png.c @@ -403,7 +403,7 @@ int imb_savepng(struct ImBuf *ibuf, const char *name, int flags) int num_text = 0; for (prop = ibuf->metadata->data.group.first; prop; prop = prop->next) { - if (prop->type == IDP_STRING){ + if (prop->type == IDP_STRING) { num_text++; } } @@ -411,7 +411,7 @@ int imb_savepng(struct ImBuf *ibuf, const char *name, int flags) metadata = MEM_callocN(num_text * sizeof(png_text), "png_metadata"); num_text = 0; for (prop = ibuf->metadata->data.group.first; prop; prop = prop->next) { - if (prop->type == IDP_STRING){ + if (prop->type == IDP_STRING) { metadata[num_text].compression = PNG_TEXT_COMPRESSION_NONE; metadata[num_text].key = prop->name; metadata[num_text].text = IDP_String(prop); |