Finally really fixed the compress-icons logic.
committer: mfx <mfx> 968848523 +0000
This commit is contained in:
parent
31c9420613
commit
e6d847b8e0
@ -1315,7 +1315,7 @@ void PackW32Pe::processResources(Resource* res)
|
||||
memset(ibuf + res->offs(),FILLVAL,res->size());
|
||||
res->newoffs() = ptr_diff(ores,oresources);
|
||||
if (rtype == 3)
|
||||
compress_icon = (iconcnt++ > iconsin1stdir || opt->w32pe.compress_icons == 1);
|
||||
compress_icon = (++iconcnt >= iconsin1stdir || opt->w32pe.compress_icons == 1);
|
||||
else if (rtype == 14)
|
||||
{
|
||||
if (opt->w32pe.compress_icons == 1)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user