fix: Intel hex provider not displaying data correctly
This commit is contained in:
parent
09dda0bc5e
commit
d2e455c4cb
@ -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 };
|
||||
|
Loading…
Reference in New Issue
Block a user