diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-07-18 08:05:18 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-07-18 08:05:18 +0000 |
commit | e4b5dd561c816433fada7105c7e4b89f3e246d60 (patch) | |
tree | ed1dd0597dc6988c55b8625e749db89f2c4b3bae /plugins/Console/src | |
parent | e2610aa46ef33ccbf474db2251bbca77fb627d1e (diff) |
Console:
fixed menu item creation
git-svn-id: http://svn.miranda-ng.org/main/trunk@1011 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Console/src')
-rw-r--r-- | plugins/Console/src/Console.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/plugins/Console/src/Console.cpp b/plugins/Console/src/Console.cpp index b04be4dc39..78510f64a6 100644 --- a/plugins/Console/src/Console.cpp +++ b/plugins/Console/src/Console.cpp @@ -1289,16 +1289,16 @@ static int OnSystemModulesLoaded(WPARAM wParam,LPARAM lParam) if (hwndConsole && IsWindow(hwndConsole))
{
- CLISTMENUITEM mi={0};
+ CLISTMENUITEM mi = {0};
HookEvent(ME_TTB_MODULELOADED, OnTTBLoaded);
- mi.cbSize=sizeof(mi);
- mi.flags=CMIF_TCHAR;
- mi.hIcon=hIcons[0];
- mi.ptszPopupName=TranslateT("&Help");
- mi.popupPosition=2000090000;
- mi.position=1000000000;
- mi.ptszName=(IsWindowVisible(hwndConsole))?TranslateT("Hide Console"):TranslateT("Show Console");
- mi.pszService=MS_CONSOLE_SHOW_HIDE;
+ mi.cbSize = sizeof(mi);
+ mi.flags = CMIF_TCHAR;
+ mi.hIcon = hIcons[0];
+ mi.ptszPopupName = _T("&Help");
+ mi.popupPosition = 2000090000;
+ mi.position = 1000000000;
+ mi.ptszName = (IsWindowVisible(hwndConsole)) ? _T("Hide Console") : _T("Show Console");
+ mi.pszService = MS_CONSOLE_SHOW_HIDE;
hMenu = Menu_AddMainMenuItem(&mi);
OnFontChange(0,0);
|