summaryrefslogtreecommitdiff
path: root/plugins/MirOTR
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2016-11-29 13:03:48 +0300
committerGeorge Hazan <ghazan@miranda.im>2016-11-29 13:03:48 +0300
commit4e5cf5ee914732ae30e261f08b270f07a69630f4 (patch)
treea90387dbcb25b92edd54cb2d7b0d706fa4ff26f9 /plugins/MirOTR
parent16b38b3be1547e49655683a912fb18e84c67f312 (diff)
BBBF_ANSITOOLTIP - unused flag removed
Diffstat (limited to 'plugins/MirOTR')
-rw-r--r--plugins/MirOTR/src/svcs_srmm.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/MirOTR/src/svcs_srmm.cpp b/plugins/MirOTR/src/svcs_srmm.cpp
index 025b968610..485f7b73bb 100644
--- a/plugins/MirOTR/src/svcs_srmm.cpp
+++ b/plugins/MirOTR/src/svcs_srmm.cpp
@@ -40,22 +40,22 @@ void SetEncryptionStatus(MCONTACT hContact, TrustLevel level)
switch (level) {
case TRUST_FINISHED:
sid.flags = 0;
- button.ptszTooltip = TranslateW(LANG_STATUS_FINISHED);
+ button.pwszTooltip = TranslateW(LANG_STATUS_FINISHED);
button.hIcon = IcoLib_GetIconHandle(ICON_FINISHED);
break;
case TRUST_UNVERIFIED:
sid2.flags = MBF_DISABLED;
- button.ptszTooltip = TranslateW(LANG_STATUS_UNVERIFIED);
+ button.pwszTooltip = TranslateW(LANG_STATUS_UNVERIFIED);
button.hIcon = IcoLib_GetIconHandle(ICON_UNVERIFIED);
break;
case TRUST_PRIVATE:
sid2.flags = 0;
- button.ptszTooltip = TranslateW(LANG_STATUS_PRIVATE);
+ button.pwszTooltip = TranslateW(LANG_STATUS_PRIVATE);
button.hIcon = IcoLib_GetIconHandle(ICON_PRIVATE);
break;
default:
sid.flags = MBF_DISABLED;
- button.ptszTooltip = TranslateW(LANG_STATUS_DISABLED);
+ button.pwszTooltip = TranslateW(LANG_STATUS_DISABLED);
button.hIcon = IcoLib_GetIconHandle(ICON_NOT_PRIVATE);
break;
}
@@ -140,7 +140,7 @@ void InitSRMM()
OTRButton.pszModuleName = MODULENAME;
OTRButton.dwDefPos = 200;
OTRButton.bbbFlags = BBBF_ISRSIDEBUTTON|BBBF_CANBEHIDDEN|BBBF_ISIMBUTTON;
- OTRButton.ptszTooltip = TranslateT(LANG_OTR_TOOLTIP);
+ OTRButton.pwszTooltip = TranslateT(LANG_OTR_TOOLTIP);
OTRButton.hIcon = IcoLib_GetIconHandle(ICON_NOT_PRIVATE);
HookEvent(ME_MSG_TOOLBARLOADED, SVC_ButtonsBarLoaded);
HookEvent(ME_MSG_BUTTONPRESSED, SVC_ButtonsBarPressed);