spelling cleanup
This commit is contained in:
@@ -504,7 +504,7 @@ static PyObject *Color_mul(PyObject *v1, PyObject *v2)
|
||||
|
||||
/* make sure v1 is always the vector */
|
||||
if (color1 && color2) {
|
||||
/* col * col, dont support yet! */
|
||||
/* col * col, don't support yet! */
|
||||
}
|
||||
else if (color1) {
|
||||
if (((scalar = PyFloat_AsDouble(v2)) == -1.0f && PyErr_Occurred()) == 0) { /* COLOR * FLOAT */
|
||||
|
||||
@@ -1063,7 +1063,7 @@ static PyObject *M_Geometry_tesselate_polygon(PyObject *UNUSED(self), PyObject *
|
||||
}
|
||||
|
||||
len_polypoints = PySequence_Size(polyLine);
|
||||
if (len_polypoints > 0) { /* dont bother adding edges as polylines */
|
||||
if (len_polypoints > 0) { /* don't bother adding edges as polylines */
|
||||
#if 0
|
||||
if (EXPP_check_sequence_consistency(polyLine, &vector_Type) != 1) {
|
||||
freedisplist(&dispbase);
|
||||
@@ -1141,7 +1141,7 @@ static PyObject *M_Geometry_tesselate_polygon(PyObject *UNUSED(self), PyObject *
|
||||
freedisplist(&dispbase);
|
||||
}
|
||||
else {
|
||||
/* no points, do this so scripts dont barf */
|
||||
/* no points, do this so scripts don't barf */
|
||||
freedisplist(&dispbase); /* possible some dl was allocated */
|
||||
tri_list = PyList_New(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user