summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2014-06-14 17:00:34 +0000
committerKirill Volinsky <mataes2007@gmail.com>2014-06-14 17:00:34 +0000
commitdc50b658940aef232430ae2b178ea4878f15c0b8 (patch)
tree187308010227358702ac3898fb5a68524981c18c /protocols
parent8b3b1961a555f06ded4bca1d7b2a38afab0272e6 (diff)
unicode popups
git-svn-id: http://svn.miranda-ng.org/main/trunk@9477 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/Xfire/src/tools.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/Xfire/src/tools.cpp b/protocols/Xfire/src/tools.cpp
index a778c09ecf..f05b35f91e 100644
--- a/protocols/Xfire/src/tools.cpp
+++ b/protocols/Xfire/src/tools.cpp
@@ -90,7 +90,7 @@ int displayPopup(HWND hWnd, LPCSTR lpText, LPCSTR lpCaption, UINT uType,HICON hi
static HICON hicNotify = NULL, hicWarning = NULL, hicError = NULL;
if ((uType & MB_TYPEMASK) == MB_OK) {
- POPUPDATA ppd = { 0 };
+ POPUPDATAT ppd = { 0 };
ppd.lchIcon = hicon;
if (bIconsNotLoaded) {
@@ -100,8 +100,8 @@ int displayPopup(HWND hWnd, LPCSTR lpText, LPCSTR lpCaption, UINT uType,HICON hi
bIconsNotLoaded = FALSE;
}
- lstrcpynA(ppd.lpzContactName, lpCaption, sizeof(ppd.lpzContactName));
- lstrcpynA(ppd.lpzText, lpText, sizeof(ppd.lpzText));
+ lstrcpyn(ppd.lptzContactName, _A2T(lpCaption), SIZEOF(ppd.lptzContactName));
+ lstrcpyn(ppd.lptzText, _A2T(lpText), SIZEOF(ppd.lptzText));
if ((uType & MB_ICONMASK) == MB_ICONSTOP) {
ppd.lchIcon = hicError;
@@ -119,7 +119,7 @@ int displayPopup(HWND hWnd, LPCSTR lpText, LPCSTR lpCaption, UINT uType,HICON hi
ppd.colorText = RGB(0,0,0);
}
- PUAddPopup(&ppd);
+ PUAddPopupT(&ppd);
}
return IDOK;