diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/ProfileManager/src/pmanagerEx.cpp | 11 | ||||
-rw-r--r-- | plugins/Restart/src/restart.cpp | 2 |
2 files changed, 7 insertions, 6 deletions
diff --git a/plugins/ProfileManager/src/pmanagerEx.cpp b/plugins/ProfileManager/src/pmanagerEx.cpp index 4bda7e2363..8565faab30 100644 --- a/plugins/ProfileManager/src/pmanagerEx.cpp +++ b/plugins/ProfileManager/src/pmanagerEx.cpp @@ -15,6 +15,7 @@ There is no warranty. #include <m_clist.h>
#include <m_skin.h>
#include <m_langpack.h>
+#include <m_system.h>
#include <win2k.h>
#include "resource.h"
@@ -93,8 +94,8 @@ extern "C" __declspec(dllexport) int Load(void) mi.position = -500200000;
mi.flags = CMIF_TCHAR;
mi.hIcon = LoadIcon(hInst, MAKEINTRESOURCE(IDI_LoadPM));
- mi.ptszPopupName = _T("Database");
- mi.ptszName = _T("Load profile");
+ mi.ptszPopupName = LPGENT("Database");
+ mi.ptszName = LPGENT("Load profile");
mi.pszService = "Database/LoadPM";
Menu_AddMainMenuItem(&mi);
@@ -104,8 +105,8 @@ extern "C" __declspec(dllexport) int Load(void) mi.position = -500200000;
mi.flags = CMIF_TCHAR;
mi.hIcon = LoadIcon(hInst, MAKEINTRESOURCE(IDI_ChangePM));
- mi.ptszPopupName = _T("Database");
- mi.ptszName = _T("Change profile");
+ mi.ptszPopupName = LPGENT("Database");
+ mi.ptszName = LPGENT("Change profile");
mi.pszService = "Database/ChangePM";
Menu_AddMainMenuItem(&mi);
@@ -127,7 +128,7 @@ extern "C" __declspec(dllexport) int Load(void) mi.hIcon = LoadIcon(hInst, MAKEINTRESOURCE(IDI_Restart));
mi.ptszPopupName = NULL;
mi.ptszName = _T("Restart");
- mi.pszService = "Miranda/System/Restart";
+ mi.pszService = MS_SYSTEM_RESTART;
Menu_AddMainMenuItem(&mi);
return 0;
diff --git a/plugins/Restart/src/restart.cpp b/plugins/Restart/src/restart.cpp index 3ed95eb5e0..07c15b60e7 100644 --- a/plugins/Restart/src/restart.cpp +++ b/plugins/Restart/src/restart.cpp @@ -58,7 +58,7 @@ extern "C" __declspec(dllexport) int Load(void) mi.flags = CMIF_ICONFROMICOLIB | CMIF_TCHAR;
mi.icolibItem = hIconHandle;
mi.ptszName = _T("Restart");
- mi.pszService = "Miranda/System/Restart";
+ mi.pszService = MS_SYSTEM_RESTART;
Menu_AddMainMenuItem(&mi);
Menu_AddTrayMenuItem(&mi);
return 0;
|