diff options
author | Campbell Barton <campbell@blender.org> | 2022-03-25 04:04:19 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-03-25 04:04:19 +0300 |
commit | c594cfbe50497fdc365b3f327b643de507cda02f (patch) | |
tree | dab180e876b849f2ea66082e167e40f15f77a6fa /source/blender/editors/animation/keyframes_edit.c | |
parent | bbd787275ff5cfebacc859b0789acf769dab3a36 (diff) |
Cleanup: use array syntax for sizeof, zero before float suffix
Diffstat (limited to 'source/blender/editors/animation/keyframes_edit.c')
-rw-r--r-- | source/blender/editors/animation/keyframes_edit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/animation/keyframes_edit.c b/source/blender/editors/animation/keyframes_edit.c index f18873cc22b..ed40845a47c 100644 --- a/source/blender/editors/animation/keyframes_edit.c +++ b/source/blender/editors/animation/keyframes_edit.c @@ -1292,8 +1292,8 @@ void ANIM_fcurve_equalize_keyframes_loop(FCurve *fcu, { uint i; BezTriple *bezt; - const float flat_direction_left[2] = {-handle_length, 0.f}; - const float flat_direction_right[2] = {handle_length, 0.f}; + const float flat_direction_left[2] = {-handle_length, 0.0f}; + const float flat_direction_right[2] = {handle_length, 0.0f}; /* Loop through an F-Curves keyframes. */ for (bezt = fcu->bezt, i = 0; i < fcu->totvert; bezt++, i++) { |