Wrong boundary

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2549 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2003-05-12 16:12:48 +00:00
parent 8471501cfb
commit 051fd2a73c

View file

@ -282,7 +282,7 @@ int generate_unicons_offsets(unsigned char* exeHeader, unsigned char* uninstIcon
DWORD dwNextSection;
if (i == ntHeaders->FileHeader.NumberOfSections - 1)
dwNextSection = exeheader_size;
dwNextSection = ntHeaders->OptionalHeader.SizeOfImage;
else
dwNextSection = sectionHeadersArray[i+1].PointerToRawData;