From 1d8648b13a0667d338a4e60df004be7e41525968 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 28 Jun 2021 15:44:12 +1000 Subject: Cleanup: repeated terms in code comments & error messages --- source/blender/python/bmesh/bmesh_py_ops_call.c | 2 +- source/blender/python/bmesh/bmesh_py_types.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/python/bmesh') diff --git a/source/blender/python/bmesh/bmesh_py_ops_call.c b/source/blender/python/bmesh/bmesh_py_ops_call.c index 28daf08507d..d198c6ca559 100644 --- a/source/blender/python/bmesh/bmesh_py_ops_call.c +++ b/source/blender/python/bmesh/bmesh_py_ops_call.c @@ -252,7 +252,7 @@ static int bpy_slot_from_py(BMesh *bm, const ushort size = pymat->num_col; if ((size != pymat->num_row) || (!ELEM(size, 3, 4))) { PyErr_Format(PyExc_TypeError, - "%.200s: keyword \"%.200s\" expected a 3x3 or 4x4 matrix Matrix", + "%.200s: keyword \"%.200s\" expected a 3x3 or 4x4 matrix", opname, slot_name); return -1; diff --git a/source/blender/python/bmesh/bmesh_py_types.c b/source/blender/python/bmesh/bmesh_py_types.c index 2001392f474..9334e9893b0 100644 --- a/source/blender/python/bmesh/bmesh_py_types.c +++ b/source/blender/python/bmesh/bmesh_py_types.c @@ -3354,7 +3354,7 @@ static void bpy_bmesh_dealloc(BPy_BMesh *self) { BMesh *bm = self->bm; - /* have have been freed by bmesh */ + /* The mesh has not been freed by #BMesh. */ if (bm) { bm_dealloc_editmode_warn(self); -- cgit v1.2.3