diff options
author | Rozhuk Ivan <rozhuk.im@gmail.com> | 2015-02-12 15:56:35 +0000 |
---|---|---|
committer | Rozhuk Ivan <rozhuk.im@gmail.com> | 2015-02-12 15:56:35 +0000 |
commit | 07f9c668a8292fa0869faf80881956592bf5096f (patch) | |
tree | ed8928c3bc804f5dce380eb5094c6d2f1d98d1d7 /protocols/MRA/src | |
parent | b0ad52dbeba4020b361145eb0b580981878dd754 (diff) |
MAR: display proto name fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@12096 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA/src')
-rw-r--r-- | protocols/MRA/src/MraAvatars.cpp | 2 | ||||
-rw-r--r-- | protocols/MRA/src/MraPopUp.cpp | 6 | ||||
-rw-r--r-- | protocols/MRA/src/MraProto.cpp | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/protocols/MRA/src/MraAvatars.cpp b/protocols/MRA/src/MraAvatars.cpp index dbf355a8e7..713e415870 100644 --- a/protocols/MRA/src/MraAvatars.cpp +++ b/protocols/MRA/src/MraAvatars.cpp @@ -56,7 +56,7 @@ DWORD CMraProto::MraAvatarsQueueInitialize(HANDLE *phAvatarsQueueHandle) MRA_AVATARS_QUEUE *pmraaqAvatarsQueue = new MRA_AVATARS_QUEUE();
char szBuffer[MAX_PATH];
- mir_snprintf(szBuffer, SIZEOF(szBuffer), "%s %s", m_szModuleName, Translate("Avatars' plugin connections"));
+ mir_snprintf(szBuffer, SIZEOF(szBuffer), "%s %s", m_tszUserName, Translate("Avatars' plugin connections"));
NETLIBUSER nlu = { sizeof(nlu) };
nlu.flags = NUF_OUTGOING | NUF_HTTPCONNS;
diff --git a/protocols/MRA/src/MraPopUp.cpp b/protocols/MRA/src/MraPopUp.cpp index bfbd29ee70..c95222ca4a 100644 --- a/protocols/MRA/src/MraPopUp.cpp +++ b/protocols/MRA/src/MraPopUp.cpp @@ -133,10 +133,10 @@ int CMraProto::OnPopupOptInit(WPARAM wParam, LPARAM) odp.position = 100000000;
odp.hInstance = g_hInstance;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_POPUPS);
- odp.pszTitle = m_szModuleName;
- odp.pszGroup = LPGEN("Popups");
+ odp.ptszTitle = m_tszUserName;
+ odp.ptszGroup = LPGENT("Popups");
odp.groupPosition = 900000000;
- odp.flags = ODPF_BOLDGROUPS;
+ odp.flags = ODPF_BOLDGROUPS | ODPF_TCHAR;
odp.pfnDlgProc = MraPopupDlgProcOpts;
Options_AddPage(wParam, &odp);
}
diff --git a/protocols/MRA/src/MraProto.cpp b/protocols/MRA/src/MraProto.cpp index df1ae3e97d..4161ff8a3f 100644 --- a/protocols/MRA/src/MraProto.cpp +++ b/protocols/MRA/src/MraProto.cpp @@ -47,7 +47,7 @@ CMraProto::CMraProto(const char* _module, const TCHAR* _displayName) : InitMenus();
- mir_snprintf(szNewMailSound, SIZEOF(szNewMailSound), "%s: %s", m_szModuleName, MRA_SOUND_NEW_EMAIL);
+ mir_snprintf(szNewMailSound, SIZEOF(szNewMailSound), "%s: %s", m_tszUserName, MRA_SOUND_NEW_EMAIL);
SkinAddNewSoundEx(szNewMailSound, m_szModuleName, MRA_SOUND_NEW_EMAIL);
HookProtoEvent(ME_CLIST_PREBUILDSTATUSMENU, &CMraProto::MraRebuildStatusMenu);
|