summaryrefslogtreecommitdiff
path: root/src/Fl_Clock.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>1999-03-25 15:26:44 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>1999-03-25 15:26:44 +0000
commita5778a1864570ae097099363377f2b3b05c17737 (patch)
tree2249c6b82038146a4b6a76ab0e92a7d314daa199 /src/Fl_Clock.cxx
parent7b19ba41ae282ff46eed9f7bc8804aadd55da3dd (diff)
Updated README and distribution packages to use v1.0.1.
Updated makefiles and makeincludes to use DSONAME and GLDLIBS. Updated configure.in to use DSONAME instead of LIBNAME. Updated editor example code in documentation. Added ANSI C++ changes to make things compile with the latest EGCS compiler. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@458 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Clock.cxx')
-rw-r--r--src/Fl_Clock.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Fl_Clock.cxx b/src/Fl_Clock.cxx
index 2ce2c5179..49c1542ac 100644
--- a/src/Fl_Clock.cxx
+++ b/src/Fl_Clock.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_Clock.cxx,v 1.8 1999/02/01 20:27:16 mike Exp $"
+// "$Id: Fl_Clock.cxx,v 1.8.2.1 1999/03/25 15:26:42 mike Exp $"
//
// Clock widget for the Fast Light Tool Kit (FLTK).
//
@@ -145,7 +145,7 @@ static void tick(void *v) {
Fl::add_timeout(1.0, tick, v);
#else
struct timeval t;
- gettimeofday(&t, NULL);
+ gettimeofday(&t, 0);
((Fl_Clock*)v)->value(t.tv_sec);
double delay = 1.0-t.tv_usec*.000001;
if (delay < .1 || delay > .9) delay = 1.0;
@@ -170,5 +170,5 @@ Fl_Clock::~Fl_Clock() {
}
//
-// End of "$Id: Fl_Clock.cxx,v 1.8 1999/02/01 20:27:16 mike Exp $".
+// End of "$Id: Fl_Clock.cxx,v 1.8.2.1 1999/03/25 15:26:42 mike Exp $".
//