code cleanup: spelling

This commit is contained in:
Campbell Barton
2012-07-16 23:23:33 +00:00
parent 1f96470b5d
commit 32cf7fcdb1
96 changed files with 150 additions and 157 deletions

View File

@@ -147,7 +147,7 @@ static PyObject *Color_str(ColorObject *self)
}
//------------------------tp_richcmpr
//returns -1 execption, 0 false, 1 true
//returns -1 exception, 0 false, 1 true
static PyObject *Color_richcmpr(PyObject *a, PyObject *b, int op)
{
PyObject *res;

View File

@@ -2443,7 +2443,7 @@ PyObject *Matrix_CreatePyObject_cb(PyObject *cb_user,
/* ----------------------------------------------------------------------------
* special type for alaternate access */
* special type for alternate access */
typedef struct {
PyObject_HEAD /* required python macro */

View File

@@ -1864,7 +1864,7 @@ static double vec_magnitude_nosqrt(float *data, int size)
/*------------------------tp_richcmpr
* returns -1 execption, 0 false, 1 true */
* returns -1 exception, 0 false, 1 true */
static PyObject *Vector_richcmpr(PyObject *objectA, PyObject *objectB, int comparison_type)
{
VectorObject *vecA = NULL, *vecB = NULL;
@@ -2908,7 +2908,7 @@ PyObject *Vector_CreatePyObject(float *vec, const int size, const int type, PyTy
}
else { /* new empty */
fill_vn_fl(self->vec, size, 0.0f);
if (size == 4) { /* do the homogenous thing */
if (size == 4) { /* do the homogeneous thing */
self->vec[3] = 1.0f;
}
}