w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

commit 6e0a44553366051c6c0d52a04cbf7f0fc09232be
parent 2a7c9601007778ec94b22cb63e7212accf5515fc
Author: ukai <ukai>
Date:   Wed, 18 Dec 2002 16:25:47 +0000

* main.c (DefaultAlarm): fix initialize value
From: Fumitoshi UKAI  <ukai@debian.or.jp>

Diffstat:
MChangeLog | 4++++
Mmain.c | 6+++---
2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,7 @@ +2002-12-19 Fumitoshi UKAI <ukai@debian.or.jp> + + * main.c (DefaultAlarm): fix initialize value + 2002-12-19 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> * [w3m-dev 03578] meta refresh diff --git a/main.c b/main.c @@ -43,7 +43,7 @@ static int n_event_queue; #ifdef USE_ALARM static AlarmEvent DefaultAlarm = { - 0, FUNCNAME_nulcmd, NULL, AL_UNSET, + 0, AL_UNSET, FUNCNAME_nulcmd, NULL }; static AlarmEvent *CurrentAlarm = &DefaultAlarm; static MySignalHandler SigAlarm(SIGNAL_ARG); @@ -5511,7 +5511,7 @@ SigAlarm(SIGNAL_ARG) #endif CurrentCmdData = NULL; if (CurrentAlarm->status == AL_IMPLICIT_ONCE) { - CurrentAlarm->sec = 0; + CurrentAlarm->sec = 0; CurrentAlarm->status = AL_UNSET; } if (CurrentAlarm->sec > 0) { @@ -5555,7 +5555,7 @@ setAlarm(void) } AlarmEvent * -setAlarmEvent(AlarmEvent *event, int sec, short status, int cmd, void *data) +setAlarmEvent(AlarmEvent * event, int sec, short status, int cmd, void *data) { if (event == NULL) event = New(AlarmEvent);