From 3ecc7bbaa054532f1b18b57948c317a8a9c95607 Mon Sep 17 00:00:00 2001 From: Serhii Sakhno Date: Sun, 22 Dec 2013 22:37:18 +0000 Subject: [PATCH] Eolite 2.15.3: fixed bugs: with show device name and ram disk free space bar git-svn-id: svn://kolibrios.org@4399 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/cmm/eolite/Eolite.c | 10 +++++----- programs/cmm/eolite/include/left_panel.h | 5 ++--- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/programs/cmm/eolite/Eolite.c b/programs/cmm/eolite/Eolite.c index e48ccf66e7..f7ca90132e 100644 --- a/programs/cmm/eolite/Eolite.c +++ b/programs/cmm/eolite/Eolite.c @@ -79,8 +79,8 @@ enum {ONLY_SHOW, WITH_REDRAW, ONLY_OPEN}; //OpenDir -#define TITLE "Eolite File Manager v2.15.2" -#define ABOUT_TITLE "Eolite v2.15.2" +#define TITLE "Eolite File Manager v2.15.3" +#define ABOUT_TITLE "Eolite v2.15.3" dword col_padding, col_selec, col_lpanel; int toolbar_buttons_x[7]={9,46,85,134,167,203}; @@ -102,8 +102,8 @@ byte byte rename_active=0, del_active=0, - show_dev_name=0, - drw_ram_disk_space=1, + show_dev_name=1, + drw_ram_disk_space=0, real_files_names_case=0, sort_num=2, itdir; @@ -654,7 +654,7 @@ void Open_Dir(dword dir_path, redraw){ } maxcount = sizeof(file_mas)/sizeof(dword)-1; if (files.count>maxcount) files.count = maxcount; - DrawRamDiskSpace(); + if (drw_ram_disk_space) DrawRamDiskSpace(); } if (files.count!=-1) { diff --git a/programs/cmm/eolite/include/left_panel.h b/programs/cmm/eolite/include/left_panel.h index ac15c3b020..d24acc1dfa 100644 --- a/programs/cmm/eolite/include/left_panel.h +++ b/programs/cmm/eolite/include/left_panel.h @@ -120,9 +120,8 @@ void SystemDiscsDraw() case 'r': dev_icon=0; strcpy(#disc_name, "System "); - if (!drw_ram_disk_space) - break; - DrawRamDiskSpace(); + if (drw_ram_disk_space) + DrawRamDiskSpace(); break; case 'c': dev_icon=1;