From 5c4582095c88d4940037f4bef017949dd6ebec99 Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Sat, 31 Aug 2013 17:20:15 +0000 Subject: [PATCH] Eolite 1.93: files list bugfix git-svn-id: svn://kolibrios.org@3876 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/cmm/eolite/Eolite.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/programs/cmm/eolite/Eolite.c b/programs/cmm/eolite/Eolite.c index c0f42d3f90..bc02a82fe1 100644 --- a/programs/cmm/eolite/Eolite.c +++ b/programs/cmm/eolite/Eolite.c @@ -1,8 +1,6 @@ //Leency & Veliant 2008-2013 //GNU GPL licence. -//êîïèðîâàòü ÷åðåç ïîòîê - //libraries #define MEMSIZE 0xA0000 #include "..\lib\kolibri.h" @@ -56,8 +54,8 @@ enum {ONLY_SHOW, WITH_REDRAW, ONLY_OPEN}; //OpenDir -#define TITLE "Eolite File Manager v1.92" -#define ABOUT_TITLE "Eolite v1.92" +#define TITLE "Eolite File Manager v1.93" +#define ABOUT_TITLE "Eolite v1.93" dword col_work = 0xE4DFE1; dword col_border = 0x9098B0; //A0A0B8; //0x819FC5; dword col_padding = 0xC8C9C9; @@ -157,7 +155,9 @@ void main() break; } if (files.current!=id) - List_Current(id-files.current); + { + if (id maximize window => there will be white lines after the last element if (files.count-files.firstfiles.visible-1) { files.first=files.count-files.visible; files.current=files.visible-1; } - for (j=0; j