summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/spinbutton.cpp
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2019-06-13 12:52:47 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2019-06-13 12:52:47 +0000
commit92053aa9ea8476eab8a853719b59b492f50610d9 (patch)
tree8989076f6831b9c1d00504e0c6c40cc864bb0f73 /src/ui/widget/spinbutton.cpp
parentFix CI problem (diff)
downloadinkscape-92053aa9ea8476eab8a853719b59b492f50610d9.tar.gz
inkscape-92053aa9ea8476eab8a853719b59b492f50610d9.zip
fix coding style
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;