Allow /INPUTCHARSET early on the command line.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6351 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
0653f46c07
commit
5878480fdc
2 changed files with 4 additions and 4 deletions
|
@ -795,7 +795,7 @@ bool WINAPI WinStdIO_OStreamInit(WINSIO_OSDATA&osd, FILE*strm, WORD cp, int bom)
|
|||
bool succ = NStream::SetBinaryMode(fd);
|
||||
DWORD cbio = 0;
|
||||
ULARGE_INTEGER uli;
|
||||
if (succ && GetFileSize64(osd.hNative, uli) && uli.QuadPart)
|
||||
if (succ && 0 != bom && GetFileSize64(osd.hNative, uli) && uli.QuadPart)
|
||||
{
|
||||
OVERLAPPED olap = {0}; // Used to read from start of file
|
||||
unsigned char bufbom[4];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue