summaryrefslogtreecommitdiff
path: root/amiga
diff options
context:
space:
mode:
Diffstat (limited to 'amiga')
-rw-r--r--amiga/agclass/amigaguide_class.c1
-rwxr-xr-xamiga/help.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/amiga/agclass/amigaguide_class.c b/amiga/agclass/amigaguide_class.c
index 815071736..9d69e96c2 100644
--- a/amiga/agclass/amigaguide_class.c
+++ b/amiga/agclass/amigaguide_class.c
@@ -368,6 +368,7 @@ uint32 agm_process(Class *cl, Object *o, Msg msg)
{
case ShutdownMsgID:
agm_close(cl, o, msg);
+ retVal = 1L;
break;
default:
diff --git a/amiga/help.c b/amiga/help.c
index a2e4f05a5..8914440be 100755
--- a/amiga/help.c
+++ b/amiga/help.c
@@ -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();
}