diff options
Diffstat (limited to 'gui/mapping-window.cpp')
-rw-r--r-- | gui/mapping-window.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/mapping-window.cpp b/gui/mapping-window.cpp index 71282d84..64e2dd48 100644 --- a/gui/mapping-window.cpp +++ b/gui/mapping-window.cpp @@ -96,7 +96,7 @@ void MapWidget::load() qfc.set_snap(1, 2.5); else { - const double x_snap = std::max(.5, conf.max_input() / 100.); + const double x_snap = std::fmax(.5, conf.max_input() / 100.); qfc.set_snap(x_snap, 1); } }); |