diff options
-rw-r--r-- | plugins/TopToolBar/toolbar.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/TopToolBar/toolbar.cpp b/plugins/TopToolBar/toolbar.cpp index 94131d4c62..c5d2d59551 100644 --- a/plugins/TopToolBar/toolbar.cpp +++ b/plugins/TopToolBar/toolbar.cpp @@ -122,10 +122,10 @@ void InsertLBut(int i) ttb.hIconUp = (HICON)LoadImage(hInst, MAKEINTRESOURCE(IDI_RUN), IMAGE_ICON, 16, 16, LR_DEFAULTCOLOR);
ttb.dwFlags = TTBBF_VISIBLE|TTBBF_ISLBUTTON;
ttb.pszService = TTB_LAUNCHSERVICE;
- ttb.name = _strdup(Translate("Default"));
- ttb.program = _tcsdup( _T("Execute Path"));
+ ttb.name = LPGEN("Default");
+ ttb.program = _T("Execute Path");
ttb.wParamDown = i;
- ttb.lParamDown = TTBAddButton(( WPARAM )&ttb, 0);;
+ ttb.lParamDown = TTBAddButton(( WPARAM )&ttb, 0);
CallService(MS_TTB_SETBUTTONOPTIONS, MAKEWPARAM(TTBO_ALLDATA, ttb.lParamDown), (LPARAM)&ttb);
}
|