mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
fix: UI issues in the data information view
This commit is contained in:
@@ -44,7 +44,12 @@ namespace hex {
|
||||
}
|
||||
|
||||
[[nodiscard]] constexpr u64 getStartAddress() const { return this->address; }
|
||||
[[nodiscard]] constexpr u64 getEndAddress() const { return this->address + this->size - 1;}
|
||||
[[nodiscard]] constexpr u64 getEndAddress() const {
|
||||
if (this->size == 0)
|
||||
return this->address;
|
||||
else
|
||||
return this->address + this->size - 1;
|
||||
}
|
||||
[[nodiscard]] constexpr size_t getSize() const { return this->size; }
|
||||
|
||||
[[nodiscard]] constexpr bool operator==(const Region &other) const {
|
||||
|
||||
Reference in New Issue
Block a user