diff options
author | George Hazan <ghazan@miranda.im> | 2016-11-29 13:03:48 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2016-11-29 13:03:48 +0300 |
commit | 4e5cf5ee914732ae30e261f08b270f07a69630f4 (patch) | |
tree | a90387dbcb25b92edd54cb2d7b0d706fa4ff26f9 /plugins/TabSRMM/src/modplus.cpp | |
parent | 16b38b3be1547e49655683a912fb18e84c67f312 (diff) |
BBBF_ANSITOOLTIP - unused flag removed
Diffstat (limited to 'plugins/TabSRMM/src/modplus.cpp')
-rw-r--r-- | plugins/TabSRMM/src/modplus.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/TabSRMM/src/modplus.cpp b/plugins/TabSRMM/src/modplus.cpp index 120906e8e0..4acddabb73 100644 --- a/plugins/TabSRMM/src/modplus.cpp +++ b/plugins/TabSRMM/src/modplus.cpp @@ -59,7 +59,7 @@ static int RegisterCustomButton(WPARAM, LPARAM) bbd.dwDefPos = 200;
bbd.hIcon = PluginConfig.g_buttonBarIconHandles[3];
bbd.pszModuleName = "Tabmodplus";
- bbd.ptszTooltip = LPGENW("Insert [img] tag / surround selected text with [img][/img]");
+ bbd.pwszTooltip = LPGENW("Insert [img] tag / surround selected text with [img][/img]");
return CallService(MS_BB_ADDBUTTON, 0, (LPARAM)&bbd);
}
@@ -130,7 +130,7 @@ static int CustomButtonPressed(WPARAM wParam, LPARAM lParam) pszFormatedText = (wchar_t*)_alloca(bufSize*sizeof(wchar_t));
mir_snwprintf(pszFormatedText, bufSize, L"[img]%s[/img]", pszText);
- bbd.ptszTooltip = 0;
+ bbd.pwszTooltip = 0;
bbd.hIcon = 0;
bbd.bbbFlags = BBSF_RELEASED;
CallService(MS_BB_SETBUTTONSTATE, wParam, (LPARAM)&bbd);
@@ -139,14 +139,14 @@ static int CustomButtonPressed(WPARAM wParam, LPARAM lParam) case 3:
pszFormatedText = L"[img]";
- bbd.ptszTooltip = LPGENW("Insert [img] tag / surround selected text with [img][/img]");
+ bbd.pwszTooltip = LPGENW("Insert [img] tag / surround selected text with [img][/img]");
CallService(MS_BB_SETBUTTONSTATE, wParam, (LPARAM)&bbd);
break;
case 4:
pszFormatedText = L"[/img]";
- bbd.ptszTooltip = LPGENW("Insert [img] tag / surround selected text with [img][/img]");
+ bbd.pwszTooltip = LPGENW("Insert [img] tag / surround selected text with [img][/img]");
CallService(MS_BB_SETBUTTONSTATE, wParam, (LPARAM)&bbd);
break;
}
|