diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-22 13:35:02 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-22 13:35:02 +0000 |
commit | b3506557a58f53ed0fc3a96c4ec4a3b8098a542d (patch) | |
tree | 520a1cb861afa7600c0553ce8b2558f725a70ed1 /plugins/HistoryPlusPlus | |
parent | 4625aafb053a002f0223bfbe76abfbec629feacf (diff) |
- CLISTMENUITEM::cbSize - atavism removed;
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@14325 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HistoryPlusPlus')
-rw-r--r-- | plugins/HistoryPlusPlus/historypp.dpr | 7 | ||||
-rw-r--r-- | plugins/HistoryPlusPlus/historypp.dproj | 2 |
2 files changed, 2 insertions, 7 deletions
diff --git a/plugins/HistoryPlusPlus/historypp.dpr b/plugins/HistoryPlusPlus/historypp.dpr index ccaaba045d..3b350fc6de 100644 --- a/plugins/HistoryPlusPlus/historypp.dpr +++ b/plugins/HistoryPlusPlus/historypp.dpr @@ -252,11 +252,8 @@ begin InitEventFilters;
ReadEventFilters;
+ // create contact item in contact menu
ZeroMemory(@menuitem,SizeOf(menuItem));
-
- //create contact item in contact menu
- menuItem.cbSize := SizeOf(menuItem);
- menuItem.pszContactOwner := nil; //all contacts
menuItem.flags := CMIF_UNICODE;
menuItem.Position := 1000090000;
@@ -461,7 +458,6 @@ begin NotifyAllForms(HM_NOTF_ICONS2CHANGED,0,0);
//change menu icons
ZeroMemory(@menuitem,SizeOf(menuItem));
- menuItem.cbSize := SizeOf(menuItem);
menuItem.flags := CMIM_ICON;
menuItem.hIcon := hppIcons[HPP_ICON_CONTACTHISTORY].handle;
CallService(MS_CLIST_MODIFYMENUITEM, MenuHandles[miContact].Handle, LPARAM(@menuItem));
@@ -491,7 +487,6 @@ begin if (PrevShowHistoryCount xor ShowHistoryCount) or (count <> MenuCount) then
begin
ZeroMemory(@menuitem, SizeOf(menuItem));
- menuItem.cbSize := SizeOf(menuItem);
menuItem.flags := CMIM_FLAGS;
if hLast = 0 then
menuItem.flags := menuItem.flags or CMIF_HIDDEN;
diff --git a/plugins/HistoryPlusPlus/historypp.dproj b/plugins/HistoryPlusPlus/historypp.dproj index 240b4619fc..88f6028e9f 100644 --- a/plugins/HistoryPlusPlus/historypp.dproj +++ b/plugins/HistoryPlusPlus/historypp.dproj @@ -8,7 +8,7 @@ <AppType>Library</AppType>
<FrameworkType>VCL</FrameworkType>
<ProjectVersion>13.4</ProjectVersion>
- <Platform Condition="'$(Platform)'==''">Win32</Platform>
+ <Platform Condition="'$(Platform)'==''">Win64</Platform>
</PropertyGroup>
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
<Base>true</Base>
|