summaryrefslogtreecommitdiff
path: root/frontends
diff options
context:
space:
mode:
Diffstat (limited to 'frontends')
-rw-r--r--frontends/amiga/pageinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/amiga/pageinfo.c b/frontends/amiga/pageinfo.c
index 79e3ac62a..54de0d008 100644
--- a/frontends/amiga/pageinfo.c
+++ b/frontends/amiga/pageinfo.c
@@ -100,7 +100,7 @@ ami_pageinfo_event(struct ami_corewindow *ami_cw, ULONG result)
{
if((result & WMHI_CLASSMASK) == WMHI_INACTIVE) {
/* Window went inactive, so schedule to close it */
- ami_schedule(0, ami_pageinfo_close_cb, pageinfo_win);
+ ami_schedule(0, ami_pageinfo_close_cb, ami_cw);
/* NB: do not return TRUE here as we're still open for now */
}
return FALSE;