summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/spinbutton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/widget/spinbutton.cpp')
-rw-r--r--src/ui/widget/spinbutton.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/widget/spinbutton.cpp b/src/ui/widget/spinbutton.cpp
index 48da5c8f5..c633035cf 100644
--- a/src/ui/widget/spinbutton.cpp
+++ b/src/ui/widget/spinbutton.cpp
@@ -85,7 +85,7 @@ bool SpinButton::on_scroll_event(GdkEventScroll *event)
} else if (event->direction == GDK_SCROLL_DOWN) {
change = -step;
} else if (event->direction == GDK_SCROLL_SMOOTH) {
- double delta_y_clamped = CLAMP(event->delta_y, -1 , 1); // values > 1 result in excessive changes
+ double delta_y_clamped = CLAMP(event->delta_y, -1, 1); // values > 1 result in excessive changes
change = step * -delta_y_clamped;
} else {
return false;