mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-29 00:10:02 -05:00
### Problem description Export selection to file would never finish and wouldn't export the last byte. ### Implementation description It was just a simple off by one when using the selection's end address to calculate the remaining data size. Add one to the remaining size calculation. ### Additional things Fixes https://github.com/WerWolv/ImHex/issues/1733, https://github.com/WerWolv/ImHex/issues/1619 and https://github.com/WerWolv/ImHex/issues/1597.