diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-06-03 17:17:37 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-06-03 17:18:35 +0300 |
commit | e3f2034e7b925bc7e31e65051842cf26d70a20bc (patch) | |
tree | 7e9c85a3dbafb121bae9acdc586085c1a73bcff0 /source/blender/collada/collada_utils.h | |
parent | 482f4ca100c901f551b4f27c0eb0990d7e4ce668 (diff) |
Cleanup: Cleanup: style, use braces for collada
Diffstat (limited to 'source/blender/collada/collada_utils.h')
-rw-r--r-- | source/blender/collada/collada_utils.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/collada/collada_utils.h b/source/blender/collada/collada_utils.h index dca8f414e5a..e142d4c77db 100644 --- a/source/blender/collada/collada_utils.h +++ b/source/blender/collada/collada_utils.h @@ -188,8 +188,9 @@ inline bool bc_startswith(std::string const &value, std::string const &starting) inline bool bc_endswith(const std::string &value, const std::string &ending) { - if (ending.size() > value.size()) + if (ending.size() > value.size()) { return false; + } return value.compare(value.size() - ending.size(), ending.size(), ending) == 0; } |