summaryrefslogtreecommitdiff
path: root/plugins/Console
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-11-27 12:32:05 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-11-27 12:32:05 +0300
commitcc79c1d36c07b905f9d47e5002f90783de92e6cb (patch)
tree7bbad4f326de511109e641fb652133cf970dd4c6 /plugins/Console
parent48affc01c9a19f3ce39a4600ec6b8e0b247b80c1 (diff)
slightly optimized way of getting menu item's module name
Diffstat (limited to 'plugins/Console')
-rw-r--r--plugins/Console/src/Console.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/Console/src/Console.cpp b/plugins/Console/src/Console.cpp
index f55e201e74..43c85aea52 100644
--- a/plugins/Console/src/Console.cpp
+++ b/plugins/Console/src/Console.cpp
@@ -1150,7 +1150,6 @@ static int OnSystemModulesLoaded(WPARAM, LPARAM)
mi.position = 1900000000;
mi.name.w = (IsWindowVisible(hwndConsole)) ? LPGENW("Hide Console") : LPGENW("Show Console");
mi.pszService = MS_CONSOLE_SHOW_HIDE;
- mi.Module = "Console";
hMenu = Menu_AddMainMenuItem(&mi);
OnFontChange(0, 0);