From 920d23f5a21216870d6904b258abde16950705fd Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Sat, 7 Apr 2012 22:22:19 +0000 Subject: [PATCH] Eolite small fix git-svn-id: svn://kolibrios.org@2589 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/fs/Eolite/trunk/Eolite.c-- | 1 + programs/fs/Eolite/trunk/include/devices.h | 1 + 2 files changed, 2 insertions(+) diff --git a/programs/fs/Eolite/trunk/Eolite.c-- b/programs/fs/Eolite/trunk/Eolite.c-- index a03f093cd8..9e011aee59 100644 --- a/programs/fs/Eolite/trunk/Eolite.c-- +++ b/programs/fs/Eolite/trunk/Eolite.c-- @@ -2,6 +2,7 @@ //GNU GPL licence. //копировать через поток +//IF (strcmp(#path+strlen(#path)-1,"/")<>0) copystr("/",#path+strlen(#path)); //если нет, + "/" перенестив опендир #include "lib\kolibri.h" #include "lib\memory.h" diff --git a/programs/fs/Eolite/trunk/include/devices.h b/programs/fs/Eolite/trunk/include/devices.h index 7eed819105..06ea46fa44 100644 --- a/programs/fs/Eolite/trunk/include/devices.h +++ b/programs/fs/Eolite/trunk/include/devices.h @@ -54,6 +54,7 @@ void DrawSystemDiscs() copystr("Unknown ",#disc_name); //изначально неизвесный носитель dev_icon=3; //по-умолчанию устройство выглядит как жестяк copystr(#disk_list[i].Item, #dev_name); + dev_name[strlen(#dev_name)-1]=''; IF (dev_name[1]=='r') { dev_icon=0; copystr("RAM disk ",#disc_name); } IF (dev_name[1]=='c') { dev_icon=1; copystr("CD-ROM ",#disc_name); } IF (dev_name[1]=='f') { dev_icon=2; copystr("Floppy disk ",#disc_name); }