From c8b51e0745cc481644752d29c1c779e14e3530bb Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 23 May 2016 13:32:02 +0000 Subject: - 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 --- include/delphi/m_clistint.inc | 8 ++------ include/m_clistint.h | 8 ++------ 2 files changed, 4 insertions(+), 12 deletions(-) (limited to 'include') 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 -- cgit v1.2.3