diff options
Diffstat (limited to 'MirOTR/svcs_srmm.cpp')
-rw-r--r-- | MirOTR/svcs_srmm.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/MirOTR/svcs_srmm.cpp b/MirOTR/svcs_srmm.cpp index 6eff845..7df79a0 100644 --- a/MirOTR/svcs_srmm.cpp +++ b/MirOTR/svcs_srmm.cpp @@ -184,8 +184,9 @@ void SetEncryptionStatus(HANDLE hContact, TrustLevel level) { button.hIcon = GetIconHandle(ICON_NOT_PRIVATE);
break;
}
+ button.bbbFlags = 0;
} else {
- button.bbbFlags |= BBBF_HIDDEN;
+ button.bbbFlags = BBSF_HIDDEN;
}
if (options.bHaveSRMMIcons) {
CallService(MS_MSG_MODIFYICON, (WPARAM)hContact, (LPARAM)&sid);
@@ -258,9 +259,9 @@ void InitSRMM() { OTRButton.pszModuleName = MODULENAME;
OTRButton.dwDefPos = 200;
#ifdef _UNICODE
- OTRButton.bbbFlags = BBBF_ISRSIDEBUTTON|BBBF_CANBEHIDDEN|BBBF_ISIMBUTTON|BBBF_ISPUSHBUTTON;
+ OTRButton.bbbFlags = BBBF_ISRSIDEBUTTON|BBBF_CANBEHIDDEN|BBBF_ISIMBUTTON;
#else
- OTRButton.bbbFlags = BBBF_ISRSIDEBUTTON|BBBF_CANBEHIDDEN|BBBF_ISIMBUTTON|BBBF_ISPUSHBUTTON|BBBF_ANSITOOLTIP;
+ OTRButton.bbbFlags = BBBF_ISRSIDEBUTTON|BBBF_CANBEHIDDEN|BBBF_ISIMBUTTON|BBBF_ANSITOOLTIP;
#endif
OTRButton.ptszTooltip = TranslateT(LANG_OTR_TOOLTIP);
OTRButton.hIcon = GetIconHandle(ICON_NOT_PRIVATE);
|