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>2012-08-22 20:44:32 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-08-22 20:44:32 +0400
commit1939baa47d6d6cd6cedb7440bc7b8e988fe6c702 (patch)
treeb572c510bdb6356be5f7770d5d71629b168d683a /source/blender/imbuf/intern/openexr
parent6143acf8784bdb89c9b93c04c93c1ef0ca6e97e3 (diff)
style cleanup
Diffstat (limited to 'source/blender/imbuf/intern/openexr')
-rw-r--r--source/blender/imbuf/intern/openexr/openexr_api.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/imbuf/intern/openexr/openexr_api.cpp b/source/blender/imbuf/intern/openexr/openexr_api.cpp
index b66a7449781..91876249bf6 100644
--- a/source/blender/imbuf/intern/openexr/openexr_api.cpp
+++ b/source/blender/imbuf/intern/openexr/openexr_api.cpp
@@ -728,8 +728,9 @@ static int imb_exr_split_token(const char *str, const char *end, const char **to
{
int maxlen = end - str;
int len = 0;
- while (len < maxlen && *(end - len - 1) != '.')
- ++len;
+ while (len < maxlen && *(end - len - 1) != '.') {
+ len++;
+ }
*token = end - len;
return len;