Eolite small fix

git-svn-id: svn://kolibrios.org@2589 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2012-04-07 22:22:19 +00:00
parent b74a72fef0
commit 920d23f5a2
2 changed files with 2 additions and 0 deletions

View File

@ -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"

View File

@ -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); }