Return 1 if help closed.

This commit is contained in:
Chris Young 2014-02-19 17:51:17 +00:00
parent 6bcd221d0d
commit 69b61198f2
2 changed files with 2 additions and 1 deletions

View File

@ -368,6 +368,7 @@ uint32 agm_process(Class *cl, Object *o, Msg msg)
{
case ShutdownMsgID:
agm_close(cl, o, msg);
retVal = 1L;
break;
default:

View File

@ -78,6 +78,6 @@ ULONG ami_help_signal(void)
void ami_help_process(void)
{
ULONG ret = IDoMethod(AmigaGuideObject, AGM_PROCESS, NULL);
if(ret == NULL) ami_help_free();
if(ret) ami_help_free();
}