diff options
author | B. Stack <bgstack15@gmail.com> | 2022-11-22 08:54:34 -0500 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2022-11-22 08:54:34 -0500 |
commit | a034cfca98d4408b175938740628a54f57eb7614 (patch) | |
tree | 501fd78c6276c0be8be8d2c671a58dd0598060b5 /wx+/graph.cpp | |
parent | add upstream 11.27 (diff) | |
download | FreeFileSync-a034cfca98d4408b175938740628a54f57eb7614.tar.gz FreeFileSync-a034cfca98d4408b175938740628a54f57eb7614.tar.bz2 FreeFileSync-a034cfca98d4408b175938740628a54f57eb7614.zip |
add upstream 11.2811.28
Diffstat (limited to 'wx+/graph.cpp')
-rw-r--r-- | wx+/graph.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wx+/graph.cpp b/wx+/graph.cpp index bf30843d..ce65d299 100644 --- a/wx+/graph.cpp +++ b/wx+/graph.cpp @@ -37,7 +37,7 @@ double zen::nextNiceNumber(double blockSize) //round to next number which is a c //have a look at leading two digits: "nice" numbers start with 1, 2, 2.5 and 5 const double steps[] = {1, 2, 2.5, 5, 10}; - return e * numeric::nearMatch(a, std::begin(steps), std::end(steps)); + return e * numeric::roundToGrid(a, std::begin(steps), std::end(steps)); } |