1
0
mirror of synced 2024-11-25 00:00:27 +01:00

fix: Intel hex provider not displaying data correctly

This commit is contained in:
WerWolv 2023-06-03 15:53:55 +02:00
parent 09dda0bc5e
commit d2e455c4cb

View File

@ -259,7 +259,7 @@ namespace hex::plugin::builtin {
decltype(this->m_data)::Interval closestInterval = { 0, 0 };
for (const auto &[interval, data] : intervals) {
if (interval.start < closestInterval.end)
if (interval.start <= closestInterval.end)
closestInterval = interval;
}
return { Region { closestInterval.start, (closestInterval.end - closestInterval.start) + 1}, true };