w3m

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

commit 68858c703710cfd4613a5a320fc63de6915e8f59
parent a0d999dd1d79f30353483f51b0a3b1ab95cf3019
Author: ukai <ukai>
Date:   Wed, 25 Dec 2002 16:06:43 +0000

[w3m-dev 03601] Re: meta refresh
* main.c (LastEvent): added
	(pushEvent): add to LastEvent
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>

Diffstat:
MChangeLog | 6++++++
Mmain.c | 4+++-
2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,5 +1,11 @@ 2002-12-26 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + * [w3m-dev 03601] Re: meta refresh + * main.c (LastEvent): added + (pushEvent): add to LastEvent + +2002-12-26 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + * [w3m-dev 03600] Re: meta refresh * main.c (main): move add_download_list diff --git a/main.c b/main.c @@ -39,6 +39,7 @@ typedef struct _Event { struct _Event *next; } Event; static Event *CurrentEvent = NULL; +static Event *LastEvent = NULL; #ifdef USE_ALARM static AlarmEvent DefaultAlarm = { @@ -1097,9 +1098,10 @@ pushEvent(int cmd, void *data) event->data = data; event->next = NULL; if (CurrentEvent) - CurrentEvent->next = event; + LastEvent->next = event; else CurrentEvent = event; + LastEvent = event; } static void