mirror of
https://github.com/fltk/fltk.git
synced 2026-05-23 15:56:10 +08:00
Fixes return type of Fl_Input_::dvalue()
This commit is contained in:
+1
-1
@@ -264,7 +264,7 @@ public:
|
||||
|
||||
int ivalue() const;
|
||||
|
||||
int dvalue() const;
|
||||
double dvalue() const;
|
||||
|
||||
/* Returns the Unicode character at index \p i. */
|
||||
unsigned int index(int i) const;
|
||||
|
||||
+1
-1
@@ -1506,7 +1506,7 @@ int Fl_Input_::ivalue() const {
|
||||
\see Fl_Input_::ivalue()
|
||||
\see Fl_Input_::value(double)
|
||||
*/
|
||||
int Fl_Input_::dvalue() const {
|
||||
double Fl_Input_::dvalue() const {
|
||||
return atof(value());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user