From 5f6dbf846b562d9cce2e5a0e252f9efc595f114f Mon Sep 17 00:00:00 2001 From: Ken Hughes Date: Tue, 4 Oct 2005 20:27:25 +0000 Subject: [PATCH] remove non-standard __FUNCTION__ use --- source/blender/python/api2_2x/Mesh.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/source/blender/python/api2_2x/Mesh.c b/source/blender/python/api2_2x/Mesh.c index 336a4c87de6..5878698cb30 100644 --- a/source/blender/python/api2_2x/Mesh.c +++ b/source/blender/python/api2_2x/Mesh.c @@ -242,8 +242,7 @@ static PyObject *MCol_getAttr( BPy_MCol * self, void *type ) default: { char errstr[1024]; - sprintf( errstr, "undefined type '%d' in %s", (int)type, - __FUNCTION__ ); + sprintf( errstr, "undefined type '%d' in MCol_getAttr", (int)type ); return EXPP_ReturnPyObjError( PyExc_RuntimeError, errstr ); } } @@ -280,8 +279,7 @@ static int MCol_setAttr( BPy_MCol * self, PyObject * value, void * type ) default: { char errstr[1024]; - sprintf( errstr, "undefined type '%d' in %s", (int)type, - __FUNCTION__ ); + sprintf( errstr, "undefined type '%d' in MCol_setAttr", (int)type ); return EXPP_ReturnIntError( PyExc_RuntimeError, errstr ); } }