assignment typo: had == instead of =

Reported by jkw on the forums.
source/blender/python/api2_2x/Text3d.c

Kent
This commit is contained in:
Kent Mein 2006-02-13 01:25:03 +00:00
parent 9809c7807b
commit 4c966a3141

@ -973,7 +973,7 @@ PyObject *M_Text3d_LoadFont( PyObject * self, PyObject * args )
if( file || !strcmp (fontfile, "<builtin>") ) {
load_vfont( fontfile );
if(file) fclose( file );
if( (vf == exist_vfont( fontfile )) )
if( (vf = exist_vfont( fontfile )) )
return Font_CreatePyObject( vf );
return EXPP_incr_ret( Py_None );
}