Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-12-01 06:11:12 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-12-01 06:11:12 +0400
commitac38f2584f1c08d5f9db9f4fbd71f8845885c6d1 (patch)
tree4557d7b1549a6d62fe8a0043a0f0bf9dd0ef5c62 /source/blender/editors/animation/anim_markers.c
parentdbd7025fae31f18037be39e9dcd8ed84e1ac41cd (diff)
Code Cleanup: replace ABS() with fabsf() when used with float expressions.
Diffstat (limited to 'source/blender/editors/animation/anim_markers.c')
-rw-r--r--source/blender/editors/animation/anim_markers.c2
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;