summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-05-23 13:32:02 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-05-23 13:32:02 +0000
commitc8b51e0745cc481644752d29c1c779e14e3530bb (patch)
tree4e160962d2c13cccb8dc39f29a897c3f84487f6a /include
parent0c4dc97b703e93e2503c9cabedaa6c42984d0f00 (diff)
- optimization in cli_SaveStateAndRebuildList applied to all clists (bLockScrollbar);
- boolean variables were made bool; git-svn-id: http://svn.miranda-ng.org/main/trunk@16863 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include')
-rw-r--r--include/delphi/m_clistint.inc8
-rw-r--r--include/m_clistint.h8
2 files changed, 4 insertions, 12 deletions
diff --git a/include/delphi/m_clistint.inc b/include/delphi/m_clistint.inc
index 88fcb303ad..09c1566154 100644
--- a/include/delphi/m_clistint.inc
+++ b/include/delphi/m_clistint.inc
@@ -186,12 +186,8 @@ type
extraColumnsCount :int;
extraColumnSpacing :int;
checkboxSize :int;
- showSelAlways :int;
- showIdle :int;
- noVScrollbar :int;
- useWindowsColours :int;
- needsResort :int;
- filterSearch :int;
+ bShowSelAlways, bShowIdle, bNoVScrollbar, bUseWindowsColours : byte;
+ bNeedsResort, bFilterSearch, bLockScrollbar : byte;
end;
PtrayIconInfo_t = ^trayIconInfo_t;
diff --git a/include/m_clistint.h b/include/m_clistint.h
index b8afd7e7f8..61d0188423 100644
--- a/include/m_clistint.h
+++ b/include/m_clistint.h
@@ -156,12 +156,8 @@ struct ClcDataBase
int extraColumnsCount;
int extraColumnSpacing;
int checkboxSize;
- int showSelAlways;
- int showIdle;
- int noVScrollbar;
- int useWindowsColours;
- int needsResort;
- int filterSearch;
+ bool bShowSelAlways, bShowIdle, bNoVScrollbar, bUseWindowsColours;
+ bool bNeedsResort, bFilterSearch, bLockScrollbar;
};
struct CListEvent : public CLISTEVENT, public MZeroedObject