Mercurial > hg > svgui
diff layer/TimeRulerLayer.cpp @ 990:2d4d0dbb94e3 simple-fft-model
Merge from default branch
author | Chris Cannam |
---|---|
date | Wed, 07 Jan 2015 17:42:21 +0000 |
parents | 3871dffc31bd |
children | 2adca8f05583 |
line wrap: on
line diff
--- a/layer/TimeRulerLayer.cpp Wed Jul 01 11:33:28 2015 +0100 +++ b/layer/TimeRulerLayer.cpp Wed Jan 07 17:42:21 2015 +0000 @@ -88,7 +88,7 @@ case SnapNearest: { - if (labs(frame - left) > labs(right - frame)) { + if (llabs(frame - left) > llabs(right - frame)) { frame = right; } else { frame = left;