From 192e0ed3bd893771b0ba27d421731b0a4cbec3f5 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Tue, 31 Jan 2006 16:06:45 +0000 Subject: 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 --- CHANGES | 2 ++ FL/Fl_Spinner.H | 3 +++ 2 files changed, 5 insertions(+) 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) { -- cgit v1.2.3