replace strncpy with BLI_strncpy, in some cases strncpy was being misused since it...
authorCampbell Barton <ideasman42@gmail.com>
Mon, 26 Sep 2011 18:51:10 +0000 (18:51 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 26 Sep 2011 18:51:10 +0000 (18:51 +0000)
commit58587a38818b0dba25886c97d584285fef4e9249
tree38e00681d39ee6a0f588232c9ef70ec5f80e22df
parente897c8e83e1277767d9a44cb0ecb6f8a279dddc3
replace strncpy with BLI_strncpy, in some cases strncpy was being misused since it doesnt ensure \0 termination.
also dont call CTX_data_scene() twice when checking for function arguments.
30 files changed:
source/blender/blenfont/intern/blf_lang.c
source/blender/blenkernel/intern/action.c
source/blender/blenkernel/intern/blender.c
source/blender/blenkernel/intern/ipo.c
source/blender/blenkernel/intern/key.c
source/blender/blenkernel/intern/node.c
source/blender/blenkernel/intern/seqeffects.c
source/blender/blenkernel/intern/sequencer.c
source/blender/blenloader/intern/readfile.c
source/blender/editors/armature/poselib.c
source/blender/editors/physics/particle_edit.c
source/blender/editors/sculpt_paint/paint_undo.c
source/blender/editors/space_sequencer/sequencer_select.c
source/blender/editors/space_text/text_draw.c
source/blender/editors/util/editmode_undo.c
source/blender/modifiers/intern/MOD_armature.c
source/blender/modifiers/intern/MOD_bevel.c
source/blender/modifiers/intern/MOD_cast.c
source/blender/modifiers/intern/MOD_curve.c
source/blender/modifiers/intern/MOD_displace.c
source/blender/modifiers/intern/MOD_hook.c
source/blender/modifiers/intern/MOD_lattice.c
source/blender/modifiers/intern/MOD_smooth.c
source/blender/modifiers/intern/MOD_warp.c
source/blender/modifiers/intern/MOD_wave.c
source/blender/nodes/intern/node_common.c
source/blender/python/generic/bpy_internal_import.c
source/blender/render/intern/source/convertblender.c
source/blender/render/intern/source/pipeline.c
source/creator/creator.c