diff options
author | George Hazan <ghazan@miranda.im> | 2019-07-24 20:58:51 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-07-24 20:58:58 +0300 |
commit | ed4897b7ef69e862806a8c07f1fd475262d0c36e (patch) | |
tree | 414efc6365f455122956eac74b754505c8efaf15 /plugins/IEView/src/HistoryHTMLBuilder.cpp | |
parent | 99893bf3aec9f4e9f0c4844c0987d129e1778c7e (diff) |
massive warning fix
Diffstat (limited to 'plugins/IEView/src/HistoryHTMLBuilder.cpp')
-rw-r--r-- | plugins/IEView/src/HistoryHTMLBuilder.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/IEView/src/HistoryHTMLBuilder.cpp b/plugins/IEView/src/HistoryHTMLBuilder.cpp index 11725edb12..e119e4c84a 100644 --- a/plugins/IEView/src/HistoryHTMLBuilder.cpp +++ b/plugins/IEView/src/HistoryHTMLBuilder.cpp @@ -258,12 +258,12 @@ void HistoryHTMLBuilder::appendEventNonTemplate(IEView *view, IEVIEWEVENT *event else
str.Append(" ");
- str.AppendFormat("<span class=\"%s\">%s:</span>", isSent ? "nameOut" : "nameIn", szName);
+ str.AppendFormat("<span class=\"%s\">%s:</span>", isSent ? "nameOut" : "nameIn", szName.get());
str.AppendFormat("<span class=\"%s\">%s</span><br>", isSent ? "timeOut" : "timeIn", timestampToString(eventData->time));
if (eventData->iType == IEED_EVENT_FILE)
- str.AppendFormat("%s:<br> %s", isSent ? Translate("Outgoing File Transfer") : Translate("Incoming File Transfer"), szText);
+ str.AppendFormat("%s:<br> %s", isSent ? Translate("Outgoing File Transfer") : Translate("Incoming File Transfer"), szText.get());
else
- str.AppendFormat("%s", szText);
+ str.Append(szText);
str.Append("</div>\n");
setLastEventType(MAKELONG(eventData->dwFlags, eventData->iType));
|