mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 940250 - Fix elfhack -r after bug 822584. r=nfroyd
This commit is contained in:
parent
176f4b5200
commit
ad69254db1
@ -768,7 +768,7 @@ void undo_file(const char *name, bool backup = false)
|
||||
ElfSegment *second = elf.getSegmentByType(PT_LOAD, first);
|
||||
ElfSegment *filler = nullptr;
|
||||
// If the second PT_LOAD is a filler from elfhack --fill, check the third.
|
||||
if (!second->isElfHackFillerSegment()) {
|
||||
if (second->isElfHackFillerSegment()) {
|
||||
filler = second;
|
||||
second = elf.getSegmentByType(PT_LOAD, filler);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user