TmpDisk: small code optimization

git-svn-id: svn://kolibrios.org@4425 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2014-01-05 21:28:58 +00:00
parent 3e99300152
commit 8637a0873c

View File

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