diff options
author | Ton Roosendaal <ton@blender.org> | 2005-05-06 00:07:22 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-05-06 00:07:22 +0400 |
commit | ec9ed88d28f0d5dd940772e8923fe46ab45ea33e (patch) | |
tree | facba455e6f9b6ada3038c935590fbdb20b2f495 /source/blender/src/edittime.c | |
parent | 1ef0359bc430b2f7fbc77df92770cd386196a056 (diff) |
Replaced the round() call with floor(0.5 + ).
Apparently MSVC doesnt have it...
Diffstat (limited to 'source/blender/src/edittime.c')
-rw-r--r-- | source/blender/src/edittime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/edittime.c b/source/blender/src/edittime.c index 4b4a2dde5a9..d611d1d6422 100644 --- a/source/blender/src/edittime.c +++ b/source/blender/src/edittime.c @@ -214,7 +214,7 @@ void nextprev_timeline_marker(short dir) static int float_to_frame(float frame) { - int to= (int) round( frame/G.scene->r.framelen ); + int to= (int) floor(0.5 + frame/G.scene->r.framelen ); return to; } |