diff options
-rw-r--r-- | protocols/IcqOscarJ/src/icq_xstatus.cpp | 2 | ||||
-rw-r--r-- | protocols/JabberG/src/jabber_xstatus.cpp | 4 | ||||
-rw-r--r-- | protocols/MRA/src/MraIcons.cpp | 8 | ||||
-rw-r--r-- | protocols/MRA/src/Mra_svcs.cpp | 100 |
4 files changed, 57 insertions, 57 deletions
diff --git a/protocols/IcqOscarJ/src/icq_xstatus.cpp b/protocols/IcqOscarJ/src/icq_xstatus.cpp index 5dc8cbcda1..e9461d24bb 100644 --- a/protocols/IcqOscarJ/src/icq_xstatus.cpp +++ b/protocols/IcqOscarJ/src/icq_xstatus.cpp @@ -893,7 +893,7 @@ void InitXStatusIcons() TCHAR lib[2*MAX_PATH] = {0};
SKINICONDESC sid = { sizeof(sid) };
- sid.pszSection = "Protocols/" ICQ_PROTOCOL_NAME "/Custom Status";
+ sid.pszSection = "Protocols/" ICQ_PROTOCOL_NAME "/"LPGEN("Custom Status");
sid.flags = SIDF_PATH_TCHAR;
sid.ptszDefaultFile = InitXStatusIconLibrary(lib, SIZEOF(lib));
diff --git a/protocols/JabberG/src/jabber_xstatus.cpp b/protocols/JabberG/src/jabber_xstatus.cpp index d05f7bb49f..95d1b60946 100644 --- a/protocols/JabberG/src/jabber_xstatus.cpp +++ b/protocols/JabberG/src/jabber_xstatus.cpp @@ -1547,12 +1547,12 @@ void g_XstatusIconsInit() _tcscpy(p+1, _T("..\\Icons\\xstatus_jabber.dll"));
TCHAR szSection[100];
- _tcscpy(szSection, _T("Protocols/Jabber/Moods"));
+ _tcscpy(szSection, _T("Protocols/Jabber/")LPGENT("Moods"));
for (int i = 1; i < SIZEOF(g_arrMoods); i++)
g_MoodIcons.RegisterIcon(g_arrMoods[i].szTag, szFile, -(200+i), szSection, TranslateTS(g_arrMoods[i].szName));
- _tcscpy(szSection, _T("Protocols/Jabber/Activities"));
+_tcscpy(szSection, _T("Protocols/Jabber/")LPGENT("Activities"));
for (int k = 0; k < SIZEOF(g_arrActivities); k++) {
if (g_arrActivities[k].szFirst)
g_ActivityIcons.RegisterIcon(g_arrActivities[k].szFirst, szFile, g_arrActivities[k].iconid, szSection, TranslateTS(g_arrActivities[k].szTitle));
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
};
|