Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 5977 → Rev 5976

/programs/cmm/eolite/Eolite.c
19,8 → 19,6
//obj
#include "..\lib\obj\libini.h"
#include "..\lib\obj\box_lib.h"
//patterns
#include "..\lib\patterns\history.h"
 
byte CMD_ENABLE_SAVE_IMG = false;
 
106,6 → 104,7
#include "include\sorting.h"
#include "include\icons.h"
#include "include\left_panel.h"
#include "include\history.h"
#include "include\menu.h"
#include "include\about.h"
#include "include\properties.h"
171,9 → 170,8
{
if (dif_x > 150)
{
if (History.forward())
if (FoldersHistory.forward())
{
strcpy(#path, History.current());
files.KeyHome();
Open_Dir(#path,WITH_REDRAW);
}
325,9 → 323,8
GoBack();
break;
case 22: //Forward
if (History.forward())
if (FoldersHistory.forward())
{
strcpy(#path, History.current());
files.KeyHome();
Open_Dir(#path,WITH_REDRAW);
}
738,7 → 735,7
if (ESBYTE[dir_path+1]!='\0') chrcat(dir_path, '/');
if (errornum)
{
History.add(#path);
FoldersHistory.add();
GoBack();
Write_Error(errornum);
return;
756,7 → 753,7
PathShow_prepare stdcall(#PathShow);
PathShow_draw stdcall(#PathShow);
}
History.add(#path);
FoldersHistory.add();
files.visible = files.h / files.item_h;
if (files.count < files.visible) files.visible = files.count;
if (redraw!=ONLY_SHOW) Sorting();
1004,11 → 1001,8
char cur_folder[4096];
strcpy(#cur_folder, #path);
cur_folder[strlen(#cur_folder)-1]=0x00; //delete last '/'
if (History.back()) {
strcpy(#path, History.current());
SelectFileByName(#cur_folder+strrchr(#cur_folder,'/'));
if (FoldersHistory.back()) SelectFileByName(#cur_folder+strrchr(#cur_folder,'/'));
}
}
 
void ShowOpenWithDialog()
{