winchar_toansi requires WCHAR* not WORD*
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4914 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
41d2436490
commit
783ad89ca8
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ void ReadVarLenArr(LPBYTE &seeker, char* &readInto, unsigned int uCodePage) {
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
{
|
{
|
||||||
readInto = winchar_toansi(arr, uCodePage);
|
readInto = winchar_toansi((WCHAR *) arr, uCodePage);
|
||||||
PWCHAR wseeker = PWCHAR(seeker);
|
PWCHAR wseeker = PWCHAR(seeker);
|
||||||
while (*wseeker++);
|
while (*wseeker++);
|
||||||
seeker = LPBYTE(wseeker);
|
seeker = LPBYTE(wseeker);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue