diff options
Diffstat (limited to 'protocols/MRA')
-rw-r--r-- | protocols/MRA/src/MraIcons.cpp | 8 | ||||
-rw-r--r-- | protocols/MRA/src/Mra_svcs.cpp | 100 |
2 files changed, 54 insertions, 54 deletions
diff --git a/protocols/MRA/src/MraIcons.cpp b/protocols/MRA/src/MraIcons.cpp index 3475dfe611..df74806fc0 100644 --- a/protocols/MRA/src/MraIcons.cpp +++ b/protocols/MRA/src/MraIcons.cpp @@ -92,11 +92,11 @@ HICON IconLibGetIconEx(HANDLE hIcon, DWORD dwFlags) void IconsLoad()
{
- AddIcoLibItems(L"Main Menu", gdiMenuItems, SIZEOF(gdiMenuItems));
- AddIcoLibItems(L"Contact Menu", gdiContactMenuItems, SIZEOF(gdiContactMenuItems));
+ AddIcoLibItems(LPGENT("Main Menu"), gdiMenuItems, SIZEOF(gdiMenuItems));
+ AddIcoLibItems(LPGENT("Contact Menu"), gdiContactMenuItems, SIZEOF(gdiContactMenuItems));
// Advanced Status Icons initialization
- AddIcoLibItems(L"Extra status", gdiExtraStatusIconsItems, SIZEOF(gdiExtraStatusIconsItems));
+ AddIcoLibItems(LPGENT("Extra status"), gdiExtraStatusIconsItems, SIZEOF(gdiExtraStatusIconsItems));
}
void InitXStatusIcons()
@@ -108,7 +108,7 @@ void InitXStatusIcons() bzero(wszPath, sizeof(wszPath));
SKINICONDESC sid = { sizeof(sid) };
- sid.pwszSection = L"Protocols/MRA/Custom Status";
+ sid.pwszSection = L"Protocols/MRA/"LPGENT("Custom Status");
sid.pwszDefaultFile = wszPath;
sid.cx = sid.cy = 16;
sid.flags = SIDF_ALL_UNICODE;
diff --git a/protocols/MRA/src/Mra_svcs.cpp b/protocols/MRA/src/Mra_svcs.cpp index 86d74c509c..4993063b58 100644 --- a/protocols/MRA/src/Mra_svcs.cpp +++ b/protocols/MRA/src/Mra_svcs.cpp @@ -66,56 +66,56 @@ const LPSTR lpcszStatusUri[] = const LPWSTR lpcszXStatusNameDef[] =
{
- L"None",
- L"Sick",
- L"Home",
- L"Eating",
- L"Compass",
- L"On WC",
- L"Cooking",
- L"Walking",
- L"Alien",
- L"Shrimp",
- L"Got lost",
- L"Crazy",
- L"Duck",
- L"Playing",
- L"Smoking",
- L"Office",
- L"Meeting",
- L"Beer",
- L"Coffee",
- L"Working",
- L"Relaxing",
- L"On the phone",
- L"In institute",
- L"At school",
- L"Wrong number",
- L"Laughing",
- L"Malicious",
- L"Imp",
- L"Blind",
- L"Disappointed",
- L"Almost crying",
- L"Fearful",
- L"Angry",
- L"Vampire",
- L"Ass",
- L"Love",
- L"Sleeping",
- L"Cool!",
- L"Peace!",
- L"Cock a snook",
- L"Get out",
- L"Death",
- L"Rocket",
- L"Devil-fish",
- L"Heavy metal",
- L"Things look bad",
- L"Squirrel",
- L"Star",
- L"Music",
- L"Dating",
+ LPGENT("None"),
+ LPGENT("Sick"),
+ LPGENT("Home"),
+ LPGENT("Eating"),
+ LPGENT("Compass"),
+ LPGENT("On WC"),
+ LPGENT("Cooking"),
+ LPGENT("Walking"),
+ LPGENT("Alien"),
+ LPGENT("Shrimp"),
+ LPGENT("Got lost"),
+ LPGENT("Crazy"),
+ LPGENT("Duck"),
+ LPGENT("Playing"),
+ LPGENT("Smoking"),
+ LPGENT("Office"),
+ LPGENT("Meeting"),
+ LPGENT("Beer"),
+ LPGENT("Coffee"),
+ LPGENT("Working"),
+ LPGENT("Relaxing"),
+ LPGENT("On the phone"),
+ LPGENT("In institute"),
+ LPGENT("At school"),
+ LPGENT("Wrong number"),
+ LPGENT("Laughing"),
+ LPGENT("Malicious"),
+ LPGENT("Imp"),
+ LPGENT("Blind"),
+ LPGENT("Disappointed"),
+ LPGENT("Almost crying"),
+ LPGENT("Fearful"),
+ LPGENT("Angry"),
+ LPGENT("Vampire"),
+ LPGENT("Ass"),
+ LPGENT("Love"),
+ LPGENT("Sleeping"),
+ LPGENT("Cool!"),
+ LPGENT("Peace!"),
+ LPGENT("Cock a snook"),
+ LPGENT("Get out"),
+ LPGENT("Death"),
+ LPGENT("Rocket"),
+ LPGENT("Devil-fish"),
+ LPGENT("Heavy metal"),
+ LPGENT("Things look bad"),
+ LPGENT("Squirrel"),
+ LPGENT("Star"),
+ LPGENT("Music"),
+ LPGENT("Dating"),
NULL
};
|