diff options
author | George Hazan <ghazan@miranda.im> | 2020-07-06 19:42:41 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-07-06 19:42:41 +0300 |
commit | 7ae091783220d08f7ff19d40323286376956fe57 (patch) | |
tree | 50021bba21e1ba895e273fc328d97f70c3216bd6 /plugins/IEView/src/TemplateHTMLBuilder.cpp | |
parent | 7781c7b3f29833b83c47d9ab9ef4a3d23454ec73 (diff) |
fix for old bug with passing parameters inside IEView
Diffstat (limited to 'plugins/IEView/src/TemplateHTMLBuilder.cpp')
-rw-r--r-- | plugins/IEView/src/TemplateHTMLBuilder.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/IEView/src/TemplateHTMLBuilder.cpp b/plugins/IEView/src/TemplateHTMLBuilder.cpp index 23698c65b0..632344d72c 100644 --- a/plugins/IEView/src/TemplateHTMLBuilder.cpp +++ b/plugins/IEView/src/TemplateHTMLBuilder.cpp @@ -175,13 +175,13 @@ void TemplateHTMLBuilder::buildHeadTemplate(IEView *view, IEVIEWEVENT *event, Pr ptrW tszNick(Contact_GetInfo(CNF_NICK, event->hContact, szRealProto));
if (tszNick != nullptr)
- szNickIn = encodeUTF8(event->hContact, szRealProto, tszNick, ENF_NAMESMILEYS, true);
+ szNickIn = encodeUTF8(event->hContact, tszNick, ENF_NAMESMILEYS, true);
tszNick = Contact_GetInfo(CNF_CUSTOMNICK, 0, szRealProto);
if (tszNick == nullptr)
Contact_GetInfo(CNF_NICK, 0, szRealProto);
if (tszNick != nullptr)
- szNickOut = encodeUTF8(event->hContact, szRealProto, tszNick, ENF_NAMESMILEYS, true);
+ szNickOut = encodeUTF8(event->hContact, tszNick, ENF_NAMESMILEYS, true);
Template *tmplt = nullptr;
if (tmpm) {
@@ -349,13 +349,13 @@ void TemplateHTMLBuilder::appendEventTemplate(IEView *view, IEVIEWEVENT *event, ptrW tszNick(Contact_GetInfo(CNF_NICK, event->hContact, szProto));
if (tszNick != nullptr)
- szNickIn = encodeUTF8(event->hContact, szRealProto, tszNick, ENF_NAMESMILEYS, true);
+ szNickIn = encodeUTF8(event->hContact, tszNick, ENF_NAMESMILEYS, true);
tszNick = Contact_GetInfo(CNF_CUSTOMNICK, 0, szProto);
if (tszNick == nullptr)
tszNick = Contact_GetInfo(CNF_NICK, 0, szProto);
if (tszNick != nullptr)
- szNickOut = encodeUTF8(event->hContact, szRealProto, tszNick, ENF_NAMESMILEYS, true);
+ szNickOut = encodeUTF8(event->hContact, tszNick, ENF_NAMESMILEYS, true);
IEVIEWEVENTDATA *eventData = event->eventData;
for (int eventIdx = 0; eventData != nullptr && (eventIdx < event->count || event->count == -1); eventData = eventData->next, eventIdx++) {
|