summaryrefslogtreecommitdiff
path: root/yapp/popup_history.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'yapp/popup_history.cpp')
-rw-r--r--yapp/popup_history.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/yapp/popup_history.cpp b/yapp/popup_history.cpp
index 8658d6f..db0c53f 100644
--- a/yapp/popup_history.cpp
+++ b/yapp/popup_history.cpp
@@ -71,8 +71,8 @@ void PopupHistoryList::Add(wchar_t *title, wchar_t *message, time_t timestamp)
PopupHistoryData item = {0}; //create an unicode history item
item.flags = PHDF_UNICODE; //mark it as unicode
item.timestamp = timestamp;
- item.titleW = mir_wstrdup(title);
- item.messageW = mir_wstrdup(message);
+ item.titleT = mir_u2t(title);
+ item.messageT = mir_u2t(message);
AddItem(item); //add it
}