summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Timeout.cxx2
-rw-r--r--src/Fl_Timeout.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/Fl_Timeout.cxx b/src/Fl_Timeout.cxx
index fed9fbad6..197719737 100644
--- a/src/Fl_Timeout.cxx
+++ b/src/Fl_Timeout.cxx
@@ -319,7 +319,7 @@ Fl_Timeout *Fl_Timeout::get(double time, Fl_Timeout_Handler cb, void *data) {
#endif
}
- memset(t, 0, sizeof(*t));
+ t->next = 0;
t->delay(time);
t->callback = cb;
t->data = data;
diff --git a/src/Fl_Timeout.h b/src/Fl_Timeout.h
index de4110609..610f00067 100644
--- a/src/Fl_Timeout.h
+++ b/src/Fl_Timeout.h
@@ -146,8 +146,6 @@ protected:
used like a stack (last in, first out).
\see Fl_Timeout::push() Member function (method)
- \see Fl_Timeout *Fl_Timeout::pop() Static function
- \see Fl_Timeout *Fl_Timeout::current() TStatic function
*/
static Fl_Timeout *current_timeout; // list of "current" timeouts