diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2012-10-08 17:35:04 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2012-10-08 17:35:04 +0000 |
commit | db5149b48346c417e18add5702a9dfe7f6e28dd0 (patch) | |
tree | 9fe09bf1b78cd5ff06a9dffdc479a825be1b030b /plugins/ProfileManager | |
parent | c8c86d4bdeecbb7738ea55476a6927595fb8047e (diff) |
cosmetic fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@1821 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ProfileManager')
-rw-r--r-- | plugins/ProfileManager/src/pmanagerEx.cpp | 11 |
1 files changed, 6 insertions, 5 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;
|