From 145998c77638d5f60d2149779b8fac4fb3883f8f Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Sun, 6 Jul 2014 19:32:50 +1200 Subject: Code cleanup - Fixed incorrect section heading - Missed one place where short was still used when the specific enum type would be more appropriate --- source/blender/blenkernel/intern/anim_sys.c | 2 +- source/blender/editors/animation/anim_channels_edit.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source') diff --git a/source/blender/blenkernel/intern/anim_sys.c b/source/blender/blenkernel/intern/anim_sys.c index 7e4552469d6..995b2ac5321 100644 --- a/source/blender/blenkernel/intern/anim_sys.c +++ b/source/blender/blenkernel/intern/anim_sys.c @@ -244,7 +244,7 @@ void BKE_free_animdata(ID *id) } } -/* Freeing -------------------------------------------- */ +/* Copying -------------------------------------------- */ /* Make a copy of the given AnimData - to be used when copying datablocks */ AnimData *BKE_copy_animdata(AnimData *adt, const bool do_action) diff --git a/source/blender/editors/animation/anim_channels_edit.c b/source/blender/editors/animation/anim_channels_edit.c index 5eb5f8c450e..ab190e0077c 100644 --- a/source/blender/editors/animation/anim_channels_edit.c +++ b/source/blender/editors/animation/anim_channels_edit.c @@ -1170,7 +1170,7 @@ static void rearrange_action_channels(bAnimContext *ac, bAction *act, eRearrange static int animchannels_rearrange_exec(bContext *C, wmOperator *op) { bAnimContext ac; - short mode; + eRearrangeAnimChan_Mode mode; /* get editor data */ if (ANIM_animdata_get_context(C, &ac) == 0) -- cgit v1.2.3