Skip to content

Commit

Permalink
fixing build (#1423); minor colorer C schema update
Browse files Browse the repository at this point in the history
  • Loading branch information
elfmz committed Nov 23, 2022
1 parent d52495b commit e37a3a4
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 24 deletions.
13 changes: 13 additions & 0 deletions colorer/configs/base/hrc/base/c-unix.ent.hrc
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,19 @@
<word name='SIOCGSTAMP'/>
<word name='SIOCGSTAMPNS'/>
<word name='SIOCSPGRP'/>
<word name='SA_NODEFER'/>
<word name='SA_RESTART'/>
<word name='SA_SIGINFO'/>
<word name='SA_NOCLDSTOP'/>
<word name='SA_NOCLDWAIT'/>
<word name='SA_NODEFER'/>
<word name='SA_ONSTACK'/>
<word name='SA_RESETHAND'/>
<word name='SA_RESTORER'/>
<word name='SA_UNSUPPORTED'/>
<word name='SA_EXPOSE_TAGBITS'/>
<word name='SIG_DFL'/>
<word name='SIG_IGN'/>
<word name='S_IRGRP'/>
<word name='S_IROTH'/>
<word name='S_IRUSR'/>
Expand Down
48 changes: 24 additions & 24 deletions far2l/src/filelist.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,40 +59,40 @@ struct FileListItem
FARString strOwner, strGroup;
FARString strCustomData;

uint64_t FileSize{0};
uint64_t PhysicalSize{0};
uint64_t FileSize{};
uint64_t PhysicalSize{};

FILETIME CreationTime{0};
FILETIME AccessTime{0};
FILETIME WriteTime{0};
FILETIME ChangeTime{0};
FILETIME CreationTime{};
FILETIME AccessTime{};
FILETIME WriteTime{};
FILETIME ChangeTime{};

wchar_t *DizText{nullptr};
wchar_t **CustomColumnData{nullptr};
wchar_t *DizText{};
wchar_t **CustomColumnData{};

DWORD_PTR UserData{0};
DWORD_PTR UserData{};

HighlightDataColor Colors{0}; // 5 DWORDs
HighlightDataColor Colors{}; // 5 DWORDs

DWORD NumberOfLinks{0};
DWORD UserFlags{0};
DWORD FileAttr{0};
DWORD FileMode{0};
DWORD CRC32{0};
DWORD NumberOfLinks{};
DWORD UserFlags{};
DWORD FileAttr{};
DWORD FileMode{};
DWORD CRC32{};

int Position{0};
int SortGroup{0};
int CustomColumnNumber{0};
int Position{};
int SortGroup{};
int CustomColumnNumber{};

bool Selected{false};
bool PrevSelected{false};
bool DeleteDiz{false};
uint8_t ShowFolderSize{0};
bool Selected{};
bool PrevSelected{};
bool DeleteDiz{};
uint8_t ShowFolderSize{};

/// temporary values used to optimize sorting, they fit into
/// 8-bytes alignment gap so there is no memory waisted
unsigned short FileNamePos{0}; // offset from beginning of StrName
unsigned short FileExtPos{0}; // offset from FileNamePos
unsigned short FileNamePos{}; // offset from beginning of StrName
unsigned short FileExtPos{}; // offset from FileNamePos
};

struct PluginsListItem
Expand Down

0 comments on commit e37a3a4

Please sign in to comment.