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:
authorHarley Acheson <harley.acheson@gmail.com>2020-10-19 19:15:34 +0300
committerHarley Acheson <harley.acheson@gmail.com>2020-10-19 19:15:34 +0300
commitc0a6bc19794c69843c38451c762e91bc10136e0f (patch)
tree24248b8d8e93f37925299cb535ec5cfbd8fefef2 /source/blender/python/intern/bpy_operator.c
parent84ef3b80de4915a24a9fd2fd214d0fa44e59b854 (diff)
Spelling: Loose Versus Lose
Corrects incorrect usages of the word 'loose' when 'lose' was required. Differential Revision: https://developer.blender.org/D9243 Reviewed by Campbell Barton
Diffstat (limited to 'source/blender/python/intern/bpy_operator.c')
-rw-r--r--source/blender/python/intern/bpy_operator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/intern/bpy_operator.c b/source/blender/python/intern/bpy_operator.c
index 8b65bb22889..0c8728f70fc 100644
--- a/source/blender/python/intern/bpy_operator.c
+++ b/source/blender/python/intern/bpy_operator.c
@@ -133,7 +133,7 @@ static PyObject *pyop_poll(PyObject *UNUSED(self), PyObject *args)
struct bContext_PyState context_py_state;
if (context_dict != NULL) {
CTX_py_state_push(C, &context_py_state, (void *)context_dict);
- Py_INCREF(context_dict); /* so we done loose it */
+ Py_INCREF(context_dict); /* so we don't lose it */
}
/* main purpose of this function */
@@ -240,7 +240,7 @@ static PyObject *pyop_call(PyObject *UNUSED(self), PyObject *args)
struct bContext_PyState context_py_state;
if (context_dict != NULL) {
CTX_py_state_push(C, &context_py_state, (void *)context_dict);
- Py_INCREF(context_dict); /* so we done loose it */
+ Py_INCREF(context_dict); /* so we don't lose it */
}
if (WM_operator_poll_context((bContext *)C, ot, context) == false) {