diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-09 04:41:09 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-09 04:41:09 +0400 |
commit | 4f7bdc59d31e94bc97955c1efeef2a8fce0c8ecd (patch) | |
tree | 7e0a36829cf52ff260821ce02716727052b95d32 /source/gameengine/Ketsji/KX_PythonInit.cpp | |
parent | 27d43f3fd3a6fbda95cdb87e4672fe34f19c2205 (diff) |
style cleanup: spelling.
also remove large, duplicate comments from sunsky.h
Diffstat (limited to 'source/gameengine/Ketsji/KX_PythonInit.cpp')
-rw-r--r-- | source/gameengine/Ketsji/KX_PythonInit.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/gameengine/Ketsji/KX_PythonInit.cpp b/source/gameengine/Ketsji/KX_PythonInit.cpp index 7c47fc59ac5..cbf08a674ef 100644 --- a/source/gameengine/Ketsji/KX_PythonInit.cpp +++ b/source/gameengine/Ketsji/KX_PythonInit.cpp @@ -1736,11 +1736,11 @@ static void backupPySysObjects(void) PyObject *sys_mods= PySys_GetObject("modules"); /* should never fail */ /* paths */ - Py_XDECREF(gp_OrigPythonSysPath); /* just incase its set */ + Py_XDECREF(gp_OrigPythonSysPath); /* just in case its set */ gp_OrigPythonSysPath = PyList_GetSlice(sys_path, 0, INT_MAX); /* copy the list */ /* modules */ - Py_XDECREF(gp_OrigPythonSysModules); /* just incase its set */ + Py_XDECREF(gp_OrigPythonSysModules); /* just in case its set */ gp_OrigPythonSysModules = PyDict_Copy(sys_mods); /* copy the list */ } @@ -2093,7 +2093,7 @@ static PyObject* gPyEventToString(PyObject*, PyObject* value) } } - PyErr_Clear(); // incase there was an error clearing + PyErr_Clear(); // in case there was an error clearing Py_DECREF(mod); if (!ret) PyErr_SetString(PyExc_ValueError, "GameKeys.EventToString(int): expected a valid int keyboard event"); else Py_INCREF(ret); |