diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2014-02-15 01:12:13 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2014-02-15 01:12:13 +0000 |
commit | f2ef17a1b5b268291c0d9c100beca3134923d4ed (patch) | |
tree | 1efeb2c61b8fe51abf7ae9f0b2321e705565c02c /amiga/agclass | |
parent | df5e5fb4875671181070f38cf15b5696d091a924 (diff) | |
download | netsurf-f2ef17a1b5b268291c0d9c100beca3134923d4ed.tar.gz netsurf-f2ef17a1b5b268291c0d9c100beca3134923d4ed.tar.bz2 |
Process the ShutdownMsgId message sent by the AmigaGuide help system, and clean up if it is received.
However, there appears to be a long-standing bug in amigaguide.library which means this is never sent.
Diffstat (limited to 'amiga/agclass')
-rwxr-xr-x | amiga/agclass/amigaguide_class.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/amiga/agclass/amigaguide_class.c b/amiga/agclass/amigaguide_class.c index fa88dd642..5f24fc56d 100755 --- a/amiga/agclass/amigaguide_class.c +++ b/amiga/agclass/amigaguide_class.c @@ -361,6 +361,10 @@ uint32 agm_process(Class *cl, Object *o, Msg msg) if (lod->agHandle) { while ( (lod->agm = IAmigaGuide->GetAmigaGuideMsg(lod->agHandle)) ) { switch(lod->agm->agm_Type) { + case ShutdownMsgId: + agm_close(cl, o, (Msg)msg); + break; + default: //printf("%d\n", lod->agm->agm_Type); break; |