summaryrefslogtreecommitdiff
path: root/plugins/Console/src/Console.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-07-18 08:05:18 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-07-18 08:05:18 +0000
commite4b5dd561c816433fada7105c7e4b89f3e246d60 (patch)
treeed1dd0597dc6988c55b8625e749db89f2c4b3bae /plugins/Console/src/Console.cpp
parente2610aa46ef33ccbf474db2251bbca77fb627d1e (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/Console.cpp')
-rw-r--r--plugins/Console/src/Console.cpp18
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);