summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2012-10-08 17:35:04 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2012-10-08 17:35:04 +0000
commitdb5149b48346c417e18add5702a9dfe7f6e28dd0 (patch)
tree9fe09bf1b78cd5ff06a9dffdc479a825be1b030b
parentc8c86d4bdeecbb7738ea55476a6927595fb8047e (diff)
cosmetic fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@1821 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/ProfileManager/src/pmanagerEx.cpp11
-rw-r--r--plugins/Restart/src/restart.cpp2
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;