summaryrefslogtreecommitdiff
path: root/yapp/popup_history_dlg.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_dlg.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_dlg.cpp')
-rw-r--r--yapp/popup_history_dlg.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/yapp/popup_history_dlg.cpp b/yapp/popup_history_dlg.cpp
index ebf80bf..fda9589 100644
--- a/yapp/popup_history_dlg.cpp
+++ b/yapp/popup_history_dlg.cpp
@@ -338,9 +338,12 @@ IEVIEWEVENTDATA *CreateAndFillEventData(PopupHistoryData *popupItem)
eventData->iType = IEED_EVENT_MESSAGE;
#ifdef UNICODE
eventData->dwFlags = IEEDF_UNICODE_NICK | IEEDF_UNICODE_TEXT | IEEDF_UNICODE_TEXT2;
+ eventData->pszNickW = popupItem->titleT;
+ eventData->pszTextW = popupItem->messageT;
+#else
+ eventData->pszNick = popupItem->titleT;
+ eventData->pszText = popupItem->messageT;
#endif
- eventData->pszNickW = popupItem->titleW;
- eventData->pszTextW = popupItem->messageW;
eventData->time = (DWORD) popupItem->timestamp;
eventData->next = NULL;
}