Make it compile again.

committer: mfx <mfx> 968541179 +0000
This commit is contained in:
Markus F.X.J. Oberhumer 2000-09-09 23:12:59 +00:00
parent 075461e4ff
commit 679fabef25
1 changed files with 3 additions and 3 deletions

View File

@ -452,11 +452,11 @@ void PackExe::pack(OutputFile *fo)
}
putPackHeader(loader,lsize);
upx_bytep p = find_le32(loader,lsize,get_le32("IPCS"));
if (p == NULL)
throwBadLoader();
if (flag & USEJUMP)
{
upx_bytep p = find_le32(loader,lsize,get_le32("IPCS"));
if (p == NULL)
throwBadLoader();
memcpy(p,&ih.ip,4);
}
else