forked from KolibriOS/kolibrios
Fixed
git-svn-id: svn://kolibrios.org@7311 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
64951a7689
commit
af22e4a7b6
@ -132,6 +132,7 @@ byte cmd_free=0;
|
||||
|
||||
void main()
|
||||
{
|
||||
dword files_y = 0;
|
||||
dword id;
|
||||
byte count_sl = 0;
|
||||
signed x_old, y_old, dif_x, dif_y, adif_x, adif_y;
|
||||
@ -529,7 +530,16 @@ void main()
|
||||
}
|
||||
break;
|
||||
default:
|
||||
IF( SystemDiscs.Get() ) DrawDeviceAndActionsLeftPanel();
|
||||
if ( SystemDiscs.Get() )
|
||||
{
|
||||
if (two_panels.checked)
|
||||
{
|
||||
//SystemDiscs.Draw();
|
||||
//ActionsDraw();
|
||||
DrawFilePanels();
|
||||
}
|
||||
else DrawDeviceAndActionsLeftPanel();
|
||||
}
|
||||
Update_Dir(#path,WITH_REDRAW);
|
||||
}
|
||||
|
||||
|
@ -101,11 +101,12 @@ byte _SystemDiscs::Get()
|
||||
devbuf = malloc(10000);
|
||||
ReadDir(19, devbuf, "/");
|
||||
dev_num = EBX;
|
||||
if (dev_num != __countSysDiscs)
|
||||
IF (dev_num != __countSysDiscs)
|
||||
{
|
||||
__countSysDiscs = dev_num;
|
||||
ret = 0xFF;
|
||||
}
|
||||
ELSE ret = 0;
|
||||
for (i1=0; i1<dev_num; i1++)
|
||||
{
|
||||
sprintf(#dev_name,"/%s",i1*304+ devbuf+72);
|
||||
|
Loading…
Reference in New Issue
Block a user