forked from KolibriOS/kolibrios
Eolite: small optimization, .lua icon
git-svn-id: svn://kolibrios.org@3018 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
e8dd8daf88
commit
f2043c7407
@ -632,7 +632,7 @@ void Open_Dir(dword temp_, redraw){
|
|||||||
copystr(temp_,#edit_path);
|
copystr(temp_,#edit_path);
|
||||||
KEdit();
|
KEdit();
|
||||||
HistoryPath(ADD_NEW_PATH);
|
HistoryPath(ADD_NEW_PATH);
|
||||||
IF (!strcmp(".",buf+72)) {memmov(buf,buf+304,count-1*304); count--;} //ôèëüòðóåì ýëåìåíò "."
|
IF (!strcmp(".",buf+72)) {count--; memmov(buf,buf+304,count*304);} //ôèëüòðóåì ýëåìåíò "."
|
||||||
FOR (j=0;j<but_num;j++) DeleteButton(201+j); //óäàëÿåì ñòàðûå
|
FOR (j=0;j<but_num;j++) DeleteButton(201+j); //óäàëÿåì ñòàðûå
|
||||||
but_num=onTop(6,57)/BUTTON_HEIGHT;
|
but_num=onTop(6,57)/BUTTON_HEIGHT;
|
||||||
IF (count<but_num) but_num=count;
|
IF (count<but_num) but_num=count;
|
||||||
|
@ -22,6 +22,7 @@ char *ext[]={
|
|||||||
"sh", 5,
|
"sh", 5,
|
||||||
"com", 5,
|
"com", 5,
|
||||||
"kex", 6,
|
"kex", 6,
|
||||||
|
"lua", 6,
|
||||||
"exe", 7,
|
"exe", 7,
|
||||||
"msi", 7,
|
"msi", 7,
|
||||||
"sys", 8,
|
"sys", 8,
|
||||||
|
Loading…
Reference in New Issue
Block a user