From 1e05b40d4f48cd2c87a07fb793e73cc136891d9c Mon Sep 17 00:00:00 2001 From: "Markus F.X.J. Oberhumer" Date: Wed, 19 Apr 2006 08:42:44 +0000 Subject: [PATCH] Whitespace changes. committer: mfx 1145436164 +0000 --- src/p_armpe.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/p_armpe.cpp b/src/p_armpe.cpp index 6bbe195c..d30c5519 100644 --- a/src/p_armpe.cpp +++ b/src/p_armpe.cpp @@ -1764,12 +1764,14 @@ void PackArmPe::pack(OutputFile *fo) ft.addvalue = ih.codebase - rvamin; // compress int strategy = allow_filter ? 0 : -3; + // disable filters for files with broken headers if (ih.codebase + ih.codesize > ph.u_len) { ft.buf_len = 1; strategy = -3; } + compressWithFilters(&ft, 2048, strategy, NULL, 0, 0, ih.codebase, rvamin); // info: see buildLoader()