diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-12-01 06:11:12 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-12-01 06:11:12 +0400 |
commit | ac38f2584f1c08d5f9db9f4fbd71f8845885c6d1 (patch) | |
tree | 4557d7b1549a6d62fe8a0043a0f0bf9dd0ef5c62 /source/blender/editors/animation | |
parent | dbd7025fae31f18037be39e9dcd8ed84e1ac41cd (diff) |
Code Cleanup: replace ABS() with fabsf() when used with float expressions.
Diffstat (limited to 'source/blender/editors/animation')
-rw-r--r-- | source/blender/editors/animation/anim_markers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/animation/anim_markers.c b/source/blender/editors/animation/anim_markers.c index 79c0c63b119..9818c312e8e 100644 --- a/source/blender/editors/animation/anim_markers.c +++ b/source/blender/editors/animation/anim_markers.c @@ -173,7 +173,7 @@ TimeMarker *ED_markers_find_nearest_marker(ListBase *markers, float x) if (markers) { for (marker = markers->first; marker; marker = marker->next) { - dist = ABS((float)marker->frame - x); + dist = fabsf((float)marker->frame - x); if (dist < min_dist) { min_dist = dist; |