forked from KolibriOS/kolibrios
TmpDisk: small code optimization
git-svn-id: svn://kolibrios.org@4425 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
3e99300152
commit
8637a0873c
@ -71,7 +71,7 @@ void Main_Window()
|
|||||||
switch(WaitEvent())
|
switch(WaitEvent())
|
||||||
{
|
{
|
||||||
case evMouse:
|
case evMouse:
|
||||||
if (GetProcessSlot(Form.ID)-GetActiveProcess()!=0) break;
|
if (!CheckActiveProcess(Form.ID)) break;
|
||||||
edit_box_mouse stdcall (#edit_disk_size);
|
edit_box_mouse stdcall (#edit_disk_size);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user