summaryrefslogtreecommitdiff
path: root/yapp/popup_history.cpp
diff options
context:
space:
mode:
author(no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10>2010-12-12 23:57:30 +0000
committer(no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10>2010-12-12 23:57:30 +0000
commit3da123901eb43f8358daa98993fa2fead3852e56 (patch)
tree2dc05855c739eefaba8cf23f49fa5afb0d807de2 /yapp/popup_history.cpp
parent012b0c230af846aee39e1fb409d1dc0e3892384e (diff)
Fixes for ANSI version
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@581 4f64403b-2f21-0410-a795-97e2b3489a10
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
}