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 /source/blender/editors/space_text/text_format_osl.c | |
parent | e288e392a8c3100cb60f6b7659323905e47c72b8 (diff) |
Cleanup: spelling in comments
Diffstat (limited to 'source/blender/editors/space_text/text_format_osl.c')
-rw-r--r-- | source/blender/editors/space_text/text_format_osl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_text/text_format_osl.c b/source/blender/editors/space_text/text_format_osl.c index 97d9ec546ca..6fc65a19d98 100644 --- a/source/blender/editors/space_text/text_format_osl.c +++ b/source/blender/editors/space_text/text_format_osl.c @@ -170,7 +170,7 @@ static int txtfmt_osl_find_preprocessor(const char *string) { if (string[0] == '#') { int i = 1; - /* Whitespace is ok '# foo' */ + /* White-space is ok '# foo'. */ while (text_check_whitespace(string[i])) { i++; } @@ -298,7 +298,7 @@ static void txtfmt_osl_format_line(SpaceText *st, TextLine *line, const bool do_ cont = (*str == '"') ? FMT_CONT_QUOTEDOUBLE : FMT_CONT_QUOTESINGLE; *fmt = FMT_TYPE_STRING; } - /* Whitespace (all ws. has been converted to spaces) */ + /* White-space (all ws. has been converted to spaces). */ else if (*str == ' ') { *fmt = FMT_TYPE_WHITESPACE; } |