summaryrefslogtreecommitdiff
path: root/plugins/Popup/src/history.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-02-27 12:43:20 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-02-27 12:43:20 +0300
commit423be683866fd8e305457eb725d8cdbe1f297fbd (patch)
treec49a7bdaf7f08683b9bfae48f0250050b2bf1872 /plugins/Popup/src/history.cpp
parent288a07c81370226937d882b7a14fe3b6e3607e9e (diff)
popup code cleaning (cause we have no tchar.h)
Diffstat (limited to 'plugins/Popup/src/history.cpp')
-rw-r--r--plugins/Popup/src/history.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Popup/src/history.cpp b/plugins/Popup/src/history.cpp
index deed963c17..d0e745da64 100644
--- a/plugins/Popup/src/history.cpp
+++ b/plugins/Popup/src/history.cpp
@@ -75,7 +75,7 @@ void PopupHistoryAdd(POPUPDATA2 *ppdNew)
*ppd = *ppdNew;
if (ppd->flags & PU2_UNICODE) {
ppd->lptzTitle = mir_wstrdup(ppd->lpwzTitle);
- ppd->lptzText = mir_wstrdup(ppd->lptzText);
+ ppd->lpwzText = mir_wstrdup(ppd->lpwzText);
}
else {
ppd->lpzTitle = mir_strdup(ppd->lpzTitle);
@@ -188,7 +188,7 @@ static INT_PTR CALLBACK HistoryDlgProc(HWND hwnd, UINT msg, WPARAM, LPARAM lPara
if (ppd->flags & PU2_UNICODE) {
ieData.dwFlags |= IEEDF_UNICODE_TEXT | IEEDF_UNICODE_NICK;
ieData.pszNickW = ppd->lptzTitle;
- ieData.pszTextW = ppd->lptzText;
+ ieData.pszTextW = ppd->lpwzText;
ieData.pszText2W = nullptr;
}
else {
@@ -372,7 +372,7 @@ static INT_PTR CALLBACK HistoryDlgProc(HWND hwnd, UINT msg, WPARAM, LPARAM lPara
if (ppd->flags & PU2_UNICODE) {
ieData.dwFlags |= IEEDF_UNICODE_TEXT | IEEDF_UNICODE_NICK;
ieData.pszNickW = ppd->lptzTitle;
- ieData.pszTextW = ppd->lptzText;
+ ieData.pszTextW = ppd->lpwzText;
ieData.pszText2W = nullptr;
}
else {