Amiga: correct schedule parameter

This commit is contained in:
Chris Young 2020-05-25 14:07:38 +01:00
parent 44e5aea7b5
commit 6d62a06899
1 changed files with 1 additions and 1 deletions

View File

@ -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;