diff options
author | Joseph Gilbert <ascotan@gmail.com> | 2006-04-24 19:09:07 +0400 |
---|---|---|
committer | Joseph Gilbert <ascotan@gmail.com> | 2006-04-24 19:09:07 +0400 |
commit | 87949e5c670e8b761ab6b86c0dff2fa5feb4295e (patch) | |
tree | 795ba502cfdfec00853e9b6cab146ca0ccb9332b /source/blender/python/api2_2x/Text3d.c | |
parent | 4bfb0e30ec1ac6b0188b1abde14af28c9198fff4 (diff) |
warnings cleanup for the python project on windows
Diffstat (limited to 'source/blender/python/api2_2x/Text3d.c')
-rw-r--r-- | source/blender/python/api2_2x/Text3d.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Text3d.c b/source/blender/python/api2_2x/Text3d.c index 9991c09ccff..6ab29f8676d 100644 --- a/source/blender/python/api2_2x/Text3d.c +++ b/source/blender/python/api2_2x/Text3d.c @@ -972,7 +972,8 @@ 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 )) ) + vf = exist_vfont( fontfile ); + if(vf) return Font_CreatePyObject( vf ); return EXPP_incr_ret( Py_None ); } |