Added Int64Fmt
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6931 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
1a039ca71f
commit
8de72ec7b1
8 changed files with 30 additions and 17 deletions
|
@ -507,7 +507,7 @@ HRESULT NSISCALL UTF16LEBOM(HANDLE h, INT_PTR ForWrite)
|
|||
if (0 == orgpos)
|
||||
{
|
||||
BYTE bom[2];
|
||||
if (myReadFile(h, bom, 2) && (0xfeff == *(UINT16*) &bom[0]))
|
||||
if (myReadFile(h, bom, 2) && (0xfeff == *(USHORT*) &bom[0]))
|
||||
{
|
||||
return S_OK;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue