Eolite 1.56: two bugs fixed

git-svn-id: svn://kolibrios.org@3295 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2013-02-28 13:52:59 +00:00
parent debda5ffe2
commit 910558ed00
6 changed files with 24 additions and 13 deletions

View File

@ -20,7 +20,7 @@ int BUTTON_HEIGHT=18;
#define ONLY_OPEN 2
//ïåðåìåííûå
#define title "Eolite File Manager v1.55"
#define title "Eolite File Manager v1.56"
dword col_work = 0xE4DFE1;
dword col_border = 0x819FC5;
dword col_padding = 0xC8C9C9;

View File

@ -1,8 +1,8 @@
//Leency - 2012
//Leency - 2013
#define EDITOR_PATH "/sys/tinypad"
#define BROWSER_PATH "/sys/htmlv"
#define BROWSER_LINK "http://kolibri-os.narod.ru"
#define BROWSER_LINK "http://kolibri-n.org/index.php"
void about_dialog()
@ -36,15 +36,15 @@ void about_dialog()
DefineAndDrawWindow(600,150,181,232+GetSkinHeight(),0x34,col_work,"About Eolite");
DrawBar(0,0,172,50,0x8494C4); //ãîëóáîå ñçàäè
PutPaletteImage(#logo,85,85,43,7,#logo_pal);
WriteText(46,100,0x90,0xBF40BF,"Eolite v1.55",0);
WriteText(46,100,0x90,0xBF40BF,"Eolite v1.56",0);
$add ebx, 1<<16
$int 0x40
WriteText(55,120,0x80,0,"Developers:",0);
WriteText(39,130,0x80,0,"Leency & Veliant",0);
WriteText(45,140,0x80,0,"KolibriOS Team",0);
WriteText(61,150,0x80,0,"2008-2012",0);
WriteText(12,170,0x80,0,"Visit",0);
DrawLink(48,170,23, "kolibri-os.narod.ru"); //ññûëêa
WriteText(61,150,0x80,0,"2008-2013",0);
WriteText(29,170,0x80,0,"Visit");
DrawLink(66,170,23, "kolibri-n.org"); //ññûëêa
DrawFlatButton(85,190,70,22,0,0xE4DFE1, "Close");
DefineButton(20-1,195-1, 16+1,15+1, 33+BT_HIDE, 0);

View File

@ -90,12 +90,12 @@ void GetIni(byte onload)
}
return;
}
parametr=option='';
parametr=option=NULL;
break;
default:
IF (InfType==SECTION) copystr(#bukva,#section+strlen(#section));
IF (InfType==PARAM) copystr(#bukva,#parametr+strlen(#parametr));
IF (InfType==OPTION) copystr(#bukva,#option+strlen(#option));
IF (InfType==SECTION) chrcat(#section, bukva);
IF (InfType==PARAM) chrcat(#parametr, bukva);
IF (InfType==OPTION) chrcat(#option, bukva);
}
}
RUN_AS_PROGRAM:

View File

@ -16,13 +16,13 @@ dword devbuf;
void GetSystemDiscs()
{
unsigned char dev_name[10], sys_discs[10];
unsigned char dev_name[20], sys_discs[20];
unsigned int i1, j1, dev_num, dev_disc_num;
disc_num=0;
if (devbuf) free(devbuf);
devbuf= malloc(3112); //áóôåð ãäå-òî íà 10 äåâàéñîâ â ëåâîé ïàíåëè
ReadDir(19, devbuf, "/");
ReadDir(20, devbuf, "/");
dev_num = EBX;
for (i1=0; i1<dev_num; i1++)
{

View File

@ -162,3 +162,10 @@ inline fastcall strcat( EDI, ESI)
mov eax, ebx
}
}
inline fastcall void chrcat(ESI, BL)
{
EDI = strlen(ESI);
ESBYTE[ESI+EDI] = BL;
ESBYTE[ESI+EDI+1] = 0;
}

View File

@ -1,3 +1,7 @@
28.02.13 -- v1.56
- исправлено падение после запуска переименованого файла;
- увеличено количество поддерживаемых дисков с 10 до 20.
10.01.13 -- v1.55
- исправлен эпичный баг с сортировкой;
- испрвлены баги при попытке переименования или удаления файла в папке,