diff options
author | George Hazan <george.hazan@gmail.com> | 2014-02-27 22:34:53 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-02-27 22:34:53 +0000 |
commit | 82034484f38eb6a9906c75a9314461c11f17b157 (patch) | |
tree | 4680af3da03b11b5f68f3f79025ef6b95449fd49 /plugins/HistoryPlusPlus/historypp.dpr | |
parent | d113a646feb2e98ab6314565dc77fd476786a376 (diff) |
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@8321 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HistoryPlusPlus/historypp.dpr')
-rw-r--r-- | plugins/HistoryPlusPlus/historypp.dpr | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/HistoryPlusPlus/historypp.dpr b/plugins/HistoryPlusPlus/historypp.dpr index e8c4e2a2a7..389f364021 100644 --- a/plugins/HistoryPlusPlus/historypp.dpr +++ b/plugins/HistoryPlusPlus/historypp.dpr @@ -209,8 +209,7 @@ begin UnhookEvent(HookSmAddChanged);
UnhookEvent(HookIcon2Changed);
UnhookEvent(HookFSChanged);
- if MetaContactsEnabled then
- UnhookEvent(HookMetaDefaultChanged);
+ UnhookEvent(HookMetaDefaultChanged);
try
// destroy hidden main window
@@ -308,7 +307,7 @@ begin if SmileyAddEnabled then HookSmAddChanged := HookEvent(ME_SMILEYADD_OPTIONSCHANGED,OnSmAddSettingsChanged);
HookIcon2Changed := HookEvent(ME_SKIN2_ICONSCHANGED,OnIcon2Changed);
HookFSChanged := HookEvent(ME_FONT_RELOAD,OnFSChanged);
- if MetaContactsEnabled then HookMetaDefaultChanged := HookEvent(ME_MC_DEFAULTTCHANGED,OnMetaDefaultChanged);
+ HookMetaDefaultChanged := HookEvent(ME_MC_DEFAULTTCHANGED,OnMetaDefaultChanged);
// return successfully
Result:=0;
@@ -382,7 +381,7 @@ begin ((szProto = nil) or (StrComp(cws.szModule, szProto) <> 0)) then
exit;
- if MetaContactsEnabled and (StrComp(cws.szModule, pAnsiChar(MetaContactsProto)) = 0) and
+ if (StrComp(cws.szModule, META_PROTO) = 0) and
(StrComp(cws.szSetting, 'Nick') = 0) then
exit;
|