mirror of https://github.com/WerWolv/ImHex.git
fix: Unavailable address displaying on intel hex provider
This commit is contained in:
parent
189ea1c3c7
commit
03daf0c95b
|
@ -292,7 +292,7 @@ namespace hex::prv {
|
|||
}
|
||||
|
||||
if (!nextRegionAddress.has_value())
|
||||
return { Region { address, this->getActualSize() - address }, true };
|
||||
return { Region::Invalid(), false };
|
||||
else
|
||||
return { Region { address, *nextRegionAddress - address }, insideValidRegion };
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue