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 <campbell@blender.org>2022-04-06 12:08:10 +0300
committerCampbell Barton <campbell@blender.org>2022-04-06 12:08:10 +0300
commit8dd3387eb74566f6c52d5c83f22a8e89a908df2a (patch)
tree12badf8984c8d0ad082104e663c90374e08e110d /source/blender/python/intern
parent2d2baeaf04d481f284bc2f098fb6d7ee9268151f (diff)
Cleanup: spelling & poor wording in code & comments
Diffstat (limited to 'source/blender/python/intern')
-rw-r--r--source/blender/python/intern/bpy_capi_utils.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/python/intern/bpy_capi_utils.c b/source/blender/python/intern/bpy_capi_utils.c
index f7f8253edac..59b0fded445 100644
--- a/source/blender/python/intern/bpy_capi_utils.c
+++ b/source/blender/python/intern/bpy_capi_utils.c
@@ -69,8 +69,7 @@ bool BPy_errors_to_report_ex(ReportList *reports,
return 0;
}
- /* Trim trailing newlines so the report doesn't contain a trailing new-line.
- * This would add a blank-line in the info space. */
+ /* Strip trailing newlines so the report doesn't show a blank-line in the info space. */
Py_ssize_t err_str_len;
const char *err_str = PyUnicode_AsUTF8AndSize(err_str_py, &err_str_len);
while (err_str_len > 0 && err_str[err_str_len - 1] == '\n') {