From 03daf0c95b4c69eaadb82fd61207b7cec2f0cf5b Mon Sep 17 00:00:00 2001 From: WerWolv Date: Sun, 14 Aug 2022 22:38:01 +0200 Subject: [PATCH] fix: Unavailable address displaying on intel hex provider --- lib/libimhex/source/providers/provider.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libimhex/source/providers/provider.cpp b/lib/libimhex/source/providers/provider.cpp index cd92c00e4..07b9dbc46 100644 --- a/lib/libimhex/source/providers/provider.cpp +++ b/lib/libimhex/source/providers/provider.cpp @@ -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 }; }