2014 and fixed some minor typos
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6478 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
edcddfa71e
commit
c75a00bbe7
141 changed files with 154 additions and 154 deletions
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* This file is a part of NSIS.
|
||||
*
|
||||
* Copyright (C) 1999-2013 Nullsoft and Contributors
|
||||
* Copyright (C) 1999-2014 Nullsoft and Contributors
|
||||
*
|
||||
* Licensed under the zlib/libpng license (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -1009,7 +1009,7 @@ l_errwcconv:
|
|||
char*lichdr=((char*)ldata) - cbcu;
|
||||
*((char*)lichdr)='X';
|
||||
if (cbcu > 1) *((WORD*)lichdr)='X';
|
||||
//BUGBUG: No room: if (cbcu > 2) *((UINT32*)lichdr)='X';
|
||||
//BUGBUG: No room, cannot support UTF-32: if (cbcu > 2) *((UINT32*)lichdr)='X';
|
||||
const bool canOptRet = (char*)data == lichdr;
|
||||
wchar_t*wcdata=DupWCFromBytes(lichdr,cbcu+cbFileData,srccp|(canOptRet?DWCFBF_ALLOWOPTIMIZEDRETURN:0));
|
||||
if (!wcdata) goto l_errwcconv;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue