summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FL/Fl_Scrollbar.H2
1 files changed, 1 insertions, 1 deletions
diff --git a/FL/Fl_Scrollbar.H b/FL/Fl_Scrollbar.H
index 0843b4394..93b123c93 100644
--- a/FL/Fl_Scrollbar.H
+++ b/FL/Fl_Scrollbar.H
@@ -71,7 +71,7 @@ public:
position changes (even if in response to a callback from this
scrollbar). All necessary calls to redraw() are done.
*/
- int value() {return int(Fl_Slider::value());}
+ int value() const {return int(Fl_Slider::value());}
/** See int Fl_Scrollbar::value() */
int value(int p, int s, int top, int total) {
return scrollvalue(p, s, top, total);