From 42909554ba1166400872802ef256e6e15a5c9956 Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Thu, 30 Dec 2021 16:35:47 +0000 Subject: [PATCH] Eolite: fix a very old issue with phantom icons and text above the file list (thanks vitalkrilov for a STR of bug) git-svn-id: svn://kolibrios.org@9528 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/cmm/eolite/Eolite.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/programs/cmm/eolite/Eolite.c b/programs/cmm/eolite/Eolite.c index 90e6b378ba..17917db507 100644 --- a/programs/cmm/eolite/Eolite.c +++ b/programs/cmm/eolite/Eolite.c @@ -9,9 +9,9 @@ TODO: http://board.kolibrios.org/viewtopic.php?f=23&t=4521&p=77334#p77334 */ -#define ABOUT_TITLE "EOLITE 5.16a" -#define TITLE_EOLITE "Eolite File Manager 5.16a" -#define TITLE_KFM "Kolibri File Manager 2.16a"; +#define ABOUT_TITLE "EOLITE 5.17" +#define TITLE_EOLITE "Eolite File Manager 5.17" +#define TITLE_KFM "Kolibri File Manager 2.17"; #define MEMSIZE 1024 * 250 #include "../lib/clipboard.h" @@ -796,7 +796,7 @@ void List_ReDraw() DrawScroll(scroll_used); } -void Line_ReDraw(dword bgcol, filenum){ +void Line_ReDraw(dword bgcol, signed filenum){ dword text_col=col.list_gb_text, ext1, attr, file_name_off, @@ -809,7 +809,7 @@ void Line_ReDraw(dword bgcol, filenum){ bool current_inactive = false; char volume_label[64] = 0; char label_file_name[4096]; - if (filenum==-1) return; + if (filenum<0) return; //if hold lkm and scroll down by mouse wheel this may be the case if (bgcol==col.selec) && (files.x==files_inactive.x) { bgcol = col.list_bg;