Refactored preprocessor instructions to separate source file
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6855 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
7ecff5e1c0
commit
17d5e5003f
14 changed files with 1451 additions and 1415 deletions
|
@ -3419,7 +3419,7 @@ int CEXEBuild::parse_pragma(LineParser &line)
|
|||
bool valid = f.OpenFileForReading(line.gettoken_str(2));
|
||||
valid = valid && 12 == f.ReadOctets(&chm, 12);
|
||||
valid = valid && FIX_ENDIAN_INT32(chm.Sig) == 0x46535449 && (FIX_ENDIAN_INT32(chm.Ver)|1) == 3; // 'ITSF' v2..3
|
||||
return valid ? rvSucc : (ERROR_MSG(_T("Invalid format\n")), PS_ERROR);
|
||||
return valid ? rvSucc : (ERROR_MSG(_T("Error: Invalid format\n")), PS_ERROR);
|
||||
}
|
||||
|
||||
if (line.gettoken_enum(1, _T("warning\0")) == -1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue