Amiga: correct schedule parameter
This commit is contained in:
parent
44e5aea7b5
commit
6d62a06899
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue