From db5149b48346c417e18add5702a9dfe7f6e28dd0 Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Mon, 8 Oct 2012 17:35:04 +0000 Subject: cosmetic fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@1821 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ProfileManager/src/pmanagerEx.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'plugins/ProfileManager/src/pmanagerEx.cpp') 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 #include #include +#include #include #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; -- cgit v1.2.3