From e927ce8acb6848974077fbbd6dc110dd3948b48a Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 10 Jul 2019 14:41:19 +1000 Subject: Cleanup: avoid line breaks from trailing comments --- source/blender/python/mathutils/mathutils_Vector.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'source/blender/python') diff --git a/source/blender/python/mathutils/mathutils_Vector.c b/source/blender/python/mathutils/mathutils_Vector.c index 10f1407f8f5..2c9a25d24bc 100644 --- a/source/blender/python/mathutils/mathutils_Vector.c +++ b/source/blender/python/mathutils/mathutils_Vector.c @@ -1415,8 +1415,8 @@ static int vector_ass_item_internal(VectorObject *self, int i, PyObject *value, return -1; } - if ((scalar = PyFloat_AsDouble(value)) == -1.0f && - PyErr_Occurred()) { /* parsed item not a number */ + if ((scalar = PyFloat_AsDouble(value)) == -1.0f && PyErr_Occurred()) { + /* parsed item not a number */ PyErr_SetString(PyExc_TypeError, "vector[index] = x: " "assigned value not a number"); @@ -1950,8 +1950,8 @@ static PyObject *Vector_div(PyObject *v1, PyObject *v2) return NULL; } - if ((scalar = PyFloat_AsDouble(v2)) == -1.0f && - PyErr_Occurred()) { /* parsed item not a number */ + if ((scalar = PyFloat_AsDouble(v2)) == -1.0f && PyErr_Occurred()) { + /* parsed item not a number */ PyErr_SetString(PyExc_TypeError, "Vector division: " "Vector must be divided by a float"); @@ -1989,8 +1989,8 @@ static PyObject *Vector_idiv(PyObject *v1, PyObject *v2) return NULL; } - if ((scalar = PyFloat_AsDouble(v2)) == -1.0f && - PyErr_Occurred()) { /* parsed item not a number */ + if ((scalar = PyFloat_AsDouble(v2)) == -1.0f && PyErr_Occurred()) { + /* parsed item not a number */ PyErr_SetString(PyExc_TypeError, "Vector division: " "Vector must be divided by a float"); -- cgit v1.2.3