WerWolv / ImHex

🔍 A Hex Editor for Reverse Engineers, Programmers and people who value their retinas when working at 3 AM.
https://imhex.werwolv.net
GNU General Public License v2.0
37.42k stars 1.64k forks source link

allow one byte ranges edits #1747

Closed Murmele closed 3 weeks ago

Murmele commented 3 weeks ago

Problem description

When entering for the end value the same value as the start it is not recorgnized as valid region, because end must be strictly greater than begin. Due to the +1 in the Region constructor this is not correct, because the end is included in the range.

Implementation description

Screenshots

After: image

Additional things

WerWolv commented 3 weeks ago

Thank you!

Murmele commented 3 weeks ago

Thanks for the fast merge!