fix: Unavailable address displaying on intel hex provider

This commit is contained in:
WerWolv 2022-08-14 22:38:01 +02:00
parent 189ea1c3c7
commit 03daf0c95b
1 changed files with 1 additions and 1 deletions

View File

@ -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 };
}