From fa23e9f4a1b7cea21b85a2b927eb8499e103f9d8 Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Mon, 17 Mar 2014 19:41:09 +0000 Subject: [PATCH] Eolite 2.16.2: fixed old bug with empty disks git-svn-id: svn://kolibrios.org@4661 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/cmm/eolite/Eolite.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/programs/cmm/eolite/Eolite.c b/programs/cmm/eolite/Eolite.c index 6ee01ebabc..62b85a80c9 100644 --- a/programs/cmm/eolite/Eolite.c +++ b/programs/cmm/eolite/Eolite.c @@ -80,8 +80,8 @@ enum {ONLY_SHOW, WITH_REDRAW, ONLY_OPEN}; //OpenDir -#define TITLE "Eolite File Manager v2.16.1" -#define ABOUT_TITLE "Eolite v2.16.1" +#define TITLE "Eolite File Manager v2.16.2" +#define ABOUT_TITLE "Eolite v2.16.2" dword col_padding, col_selec, col_lpanel; int toolbar_buttons_x[7]={9,46,85,134,167,203}; @@ -594,6 +594,7 @@ void Line_ReDraw(dword color, filenum){ name_len=0, attr, y=filenum*files.line_h+files.y; + if (filenum==-1) return; DrawBar(files.x,y,3,files.line_h,color); DrawBar(files.x+19,y,files.w-19,files.line_h,color); DrawBar(files.x+3,y+17,16,1,color);