From 3da123901eb43f8358daa98993fa2fead3852e56 Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> Date: Sun, 12 Dec 2010 23:57:30 +0000 Subject: Fixes for ANSI version git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@581 4f64403b-2f21-0410-a795-97e2b3489a10 --- yapp/popup_history.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'yapp/popup_history.cpp') 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 } -- cgit v1.2.3