diff --git a/programs/cmm/tmpdisk/t_window.c b/programs/cmm/tmpdisk/t_window.c index b58d081e1a..648db38290 100644 --- a/programs/cmm/tmpdisk/t_window.c +++ b/programs/cmm/tmpdisk/t_window.c @@ -71,7 +71,7 @@ void Main_Window() switch(WaitEvent()) { case evMouse: - if (GetProcessSlot(Form.ID)-GetActiveProcess()!=0) break; + if (!CheckActiveProcess(Form.ID)) break; edit_box_mouse stdcall (#edit_disk_size); break;