Eolite: fixed two bugs (thanks kw33 for found one)

git-svn-id: svn://kolibrios.org@9269 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2021-11-14 23:16:56 +00:00
parent 7fa9473c69
commit 7288de6237

View File

@ -8,9 +8,9 @@ TODO:
- 70.5 - get volume info and label
*/
#define ABOUT_TITLE "EOLITE 5.04 Gold"
#define TITLE_EOLITE "Eolite File Manager 5.04 Gold"
#define TITLE_KFM "Kolibri File Manager 2.04 Gold";
#define ABOUT_TITLE "EOLITE 5.05 Gold"
#define TITLE_EOLITE "Eolite File Manager 5.05 Gold"
#define TITLE_KFM "Kolibri File Manager 2.05 Gold";
#define MEMSIZE 1024 * 250
#include "../lib/clipboard.h"
@ -522,7 +522,7 @@ void draw_window()
incn x;
dword title;
static int rand_n;
if (rand_n) rand_n = random(80);
if (!rand_n) rand_n = random(80);
if (show_status_bar.checked) {
#define STBAR_EOLITE_H 16
@ -724,7 +724,8 @@ void OpenDir(char redraw){
if (buf) free(buf);
if (errornum = GetDir(#buf, #files.count, path, DIRS_NOROOT)) {
history.add(path);
EventHistoryGoBack();
//EventHistoryGoBack();
Dir_Up();
Write_Error(errornum);
return;
}