Eolite: fix for PunkJoker
WebView and TxtRead: combine toolbars into one file to save 2 sectors in IMG git-svn-id: svn://kolibrios.org@7428 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -92,7 +92,7 @@ void GetDiskIconAndName(char disk_first_letter, dword dev_icon, disc_name)
|
||||
|
||||
void _SystemDiscs::Get()
|
||||
{
|
||||
byte ret = 0;
|
||||
bool kolibrios_exists=false;
|
||||
char dev_name[10], sys_discs[10];
|
||||
int i1, j1, dev_num_i, dev_disc_num;
|
||||
dword devbuf;
|
||||
@@ -113,7 +113,8 @@ void _SystemDiscs::Get()
|
||||
}
|
||||
if (!strcmp(#sys_discs, "/rd/1"))
|
||||
{
|
||||
if (dir_exists("/kolibrios")) {
|
||||
if (dir_exists("/kolibrios")) && (!kolibrios_exists) {
|
||||
kolibrios_exists=true;
|
||||
list.add("/kolibrios");
|
||||
dev_num++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user