diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-07-12 13:56:54 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-07-12 13:56:54 +0000 |
commit | e0b1fbf35cc17f73de8049cb72494c95669a9195 (patch) | |
tree | 994c4eae8122058f0f10bce4a4bffc98a24e8259 /plugins/StatusPlugins | |
parent | b17df7fca9fc9eb65037e2586dea15155ace1273 (diff) |
minor toptoolbar fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@925 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/StatusPlugins')
-rw-r--r-- | plugins/StatusPlugins/StartupStatus/toolbars.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/StatusPlugins/StartupStatus/toolbars.cpp b/plugins/StatusPlugins/StartupStatus/toolbars.cpp index 989468cdb4..a7a13a6bc9 100644 --- a/plugins/StatusPlugins/StartupStatus/toolbars.cpp +++ b/plugins/StatusPlugins/StartupStatus/toolbars.cpp @@ -73,11 +73,10 @@ int CreateTopToolbarButtons(WPARAM wParam, LPARAM lParam) char profileName[128];
strncpy(profileName, dbv.pszVal, sizeof(profileName)-1);
- ttb.name = profileName;
ttb.hIconHandleDn = hTtbDown;
ttb.hIconHandleUp = hTtbUp;
ttb.wParamDown = ttb.wParamUp = i;
- ttb.pszTooltipUp = profileName;
+ ttb.name = ttb.pszTooltipUp = LPGEN(profileName);
HANDLE ttbAddResult = TopToolbar_AddButton(&ttb);
if (ttbAddResult) {
ttbButtons[ttbButtonCount] = ttbAddResult;
|