summaryrefslogtreecommitdiff
path: root/plugins/StatusPlugins/StartupStatus/toolbars.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/StatusPlugins/StartupStatus/toolbars.cpp')
-rw-r--r--plugins/StatusPlugins/StartupStatus/toolbars.cpp3
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;