diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-07-10 07:41:19 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-07-10 07:41:19 +0300 |
commit | e927ce8acb6848974077fbbd6dc110dd3948b48a (patch) | |
tree | 7b955f22aa42f1eaf0d6bd88aff202c3a2f41f9f /source/blender/imbuf/intern | |
parent | 91b8e57d653a1dce80f4e7c83ddfd0b596020590 (diff) |
Cleanup: avoid line breaks from trailing comments
Diffstat (limited to 'source/blender/imbuf/intern')
-rw-r--r-- | source/blender/imbuf/intern/openexr/openexr_api.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/imbuf/intern/openexr/openexr_api.cpp b/source/blender/imbuf/intern/openexr/openexr_api.cpp index 7b3de4167a2..69dec88e727 100644 --- a/source/blender/imbuf/intern/openexr/openexr_api.cpp +++ b/source/blender/imbuf/intern/openexr/openexr_api.cpp @@ -969,8 +969,8 @@ int IMB_exr_begin_read(void *handle, const char *filename, int *width, int *heig ExrHandle *data = (ExrHandle *)handle; ExrChannel *echan; - if (BLI_exists(filename) && - BLI_file_size(filename) > 32) { /* 32 is arbitrary, but zero length files crashes exr */ + /* 32 is arbitrary, but zero length files crashes exr. */ + if (BLI_exists(filename) && BLI_file_size(filename) > 32) { /* avoid crash/abort when we don't have permission to write here */ try { data->ifile_stream = new IFileStream(filename); @@ -1957,8 +1957,8 @@ struct ImBuf *imb_load_openexr(const unsigned char *mem, } } - if (is_multi && - ((flags & IB_thumbnail) == 0)) { /* only enters with IB_multilayer flag set */ + /* Only enters with IB_multilayer flag set. */ + if (is_multi && ((flags & IB_thumbnail) == 0)) { /* constructs channels for reading, allocates memory in channels */ ExrHandle *handle = imb_exr_begin_read_mem(*membuf, *file, width, height); if (handle) { |