diff options
author | Harley Acheson <harley.acheson@gmail.com> | 2020-10-19 19:15:34 +0300 |
---|---|---|
committer | Harley Acheson <harley.acheson@gmail.com> | 2020-10-19 19:15:34 +0300 |
commit | c0a6bc19794c69843c38451c762e91bc10136e0f (patch) | |
tree | 24248b8d8e93f37925299cb535ec5cfbd8fefef2 /source/blender/python | |
parent | 84ef3b80de4915a24a9fd2fd214d0fa44e59b854 (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')
-rw-r--r-- | source/blender/python/intern/bpy_interface.c | 2 | ||||
-rw-r--r-- | source/blender/python/intern/bpy_operator.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/python/intern/bpy_interface.c b/source/blender/python/intern/bpy_interface.c index 49a17bbf1bf..c4523363a91 100644 --- a/source/blender/python/intern/bpy_interface.c +++ b/source/blender/python/intern/bpy_interface.c @@ -670,7 +670,7 @@ static void bpy_module_delay_init(PyObject *bpy_proxy) const int argc = 1; const char *argv[2]; - /* updating the module dict below will loose the reference to __file__ */ + /* updating the module dict below will lose the reference to __file__ */ PyObject *filename_obj = PyModule_GetFilenameObject(bpy_proxy); const char *filename_rel = _PyUnicode_AsString(filename_obj); /* can be relative */ 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) { |