20 lines
615 B
Plaintext
20 lines
615 B
Plaintext
*** SwissWatch.c.orig Sun Jan 11 20:15:34 1998
|
|
--- SwissWatch.c Sun Jan 11 20:16:09 1998
|
|
***************
|
|
*** 280,286 ****
|
|
struct timeval tvnow;
|
|
|
|
gettimeofday(& tvnow, (struct timezone *) 0);
|
|
! tm_now = localtime(&tvnow.tv_sec);
|
|
#if HAVE_GMTOFF
|
|
w->swiss_watch.now_local_sec = tvnow.tv_sec+tm_now->tm_gmtoff;
|
|
#else /* not HAVE_GMTOFF */
|
|
--- 280,286 ----
|
|
struct timeval tvnow;
|
|
|
|
gettimeofday(& tvnow, (struct timezone *) 0);
|
|
! tm_now = localtime((time_t *)&tvnow.tv_sec);
|
|
#if HAVE_GMTOFF
|
|
w->swiss_watch.now_local_sec = tvnow.tv_sec+tm_now->tm_gmtoff;
|
|
#else /* not HAVE_GMTOFF */
|