summaryrefslogtreecommitdiff
path: root/src/guichan/widgets/slider.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/guichan/widgets/slider.cpp')
-rw-r--r--src/guichan/widgets/slider.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/guichan/widgets/slider.cpp b/src/guichan/widgets/slider.cpp
index ed14f525a..a9e9bed31 100644
--- a/src/guichan/widgets/slider.cpp
+++ b/src/guichan/widgets/slider.cpp
@@ -56,7 +56,7 @@
namespace gcn
{
- Slider::Slider(double scaleEnd) :
+ Slider::Slider(const double scaleEnd) :
mDragged(false),
mScaleStart(0),
mScaleEnd(scaleEnd)
@@ -72,7 +72,7 @@ namespace gcn
addKeyListener(this);
}
- Slider::Slider(double scaleStart, double scaleEnd) :
+ Slider::Slider(const double scaleStart, const double scaleEnd) :
mDragged(false),
mScaleStart(scaleStart),
mScaleEnd(scaleEnd)