summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2006-01-31 16:06:45 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2006-01-31 16:06:45 +0000
commit192e0ed3bd893771b0ba27d421731b0a4cbec3f5 (patch)
tree9ef617b3145954536b6c0562a4c48cc6589882c5
parentbf7082f16c377bb73002ae7b7b95b18798610428 (diff)
Fl_Spinner's minimum() and maximum() "get" methods were
misspelled (STR #1146) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4780 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--CHANGES2
-rw-r--r--FL/Fl_Spinner.H3
2 files changed, 5 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index 8ed34263c..ec4a9cade 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,7 @@
CHANGES IN FLTK 1.1.8
+ - Fl_Spinner's minimum() and maximum() "get" methods were
+ misspelled (STR #1146)
- The largefile support changes in 1.1.7 broke binary
compability for fl_filename_list(); you must now use
"--enable-largefile" when configuring to get large file
diff --git a/FL/Fl_Spinner.H b/FL/Fl_Spinner.H
index 35a9badfb..1b101a382 100644
--- a/FL/Fl_Spinner.H
+++ b/FL/Fl_Spinner.H
@@ -127,9 +127,12 @@ class Fl_Spinner : public Fl_Group
const char *format() { return (format_); }
void format(const char *f) { format_ = f; update(); }
+ // Speling mistaks retained for source compatibility...
double maxinum() const { return (maximum_); }
+ double maximum() const { return (maximum_); }
void maximum(double m) { maximum_ = m; }
double mininum() const { return (minimum_); }
+ double minimum() const { return (minimum_); }
void minimum(double m) { minimum_ = m; }
void range(double a, double b) { minimum_ = a; maximum_ = b; }
void resize(int X, int Y, int W, int H) {