diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-10-24 11:31:08 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-10-24 13:04:04 +0300 |
commit | 1411118055368022cf466448d4da8494d05e02c1 (patch) | |
tree | 676bdadcc67d3d65fd89296b66341ecdc795f613 /intern | |
parent | e288e392a8c3100cb60f6b7659323905e47c72b8 (diff) |
Cleanup: spelling in comments
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/render/osl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/render/osl.cpp b/intern/cycles/render/osl.cpp index 77863fa0137..dd8f1b31177 100644 --- a/intern/cycles/render/osl.cpp +++ b/intern/cycles/render/osl.cpp @@ -640,7 +640,7 @@ string OSLCompiler::compatible_name(ShaderNode *node, ShaderInput *input) string sname(input->name().string()); size_t i; - /* strip whitespace */ + /* Strip white-space. */ while ((i = sname.find(" ")) != string::npos) sname.replace(i, 1, ""); @@ -660,7 +660,7 @@ string OSLCompiler::compatible_name(ShaderNode *node, ShaderOutput *output) string sname(output->name().string()); size_t i; - /* strip whitespace */ + /* Strip white-space. */ while ((i = sname.find(" ")) != string::npos) sname.replace(i, 1, ""); |