summaryrefslogtreecommitdiff
path: root/yapp/popup_history_dlg.cpp
diff options
context:
space:
mode:
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;
}