Cleanup: spelling in comments

This commit is contained in:
Campbell Barton
2021-10-24 19:31:08 +11:00
parent e288e392a8
commit 1411118055
21 changed files with 30 additions and 33 deletions

View File

@@ -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, "");