1
0
mirror of synced 2024-09-24 11:38:26 +02:00
ImHex/plugins
Murmele fb7d40ddbe
fix: Allow bookmark region to be set to 1 Byte length (#1747)
<!--
Please provide as much information as possible about what your PR aims
to do.
PRs with no description will most likely be closed until more
information is provided.
If you're planing on changing fundamental behaviour or add big new
features, please open a GitHub Issue first before starting to work on
it.
If it's not something big and you still want to contact us about it,
feel free to do so !
-->

### Problem description
<!-- Describe the bug that you fixed/feature request that you
implemented, or link to an existing issue describing it -->
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
<!-- Explain what you did to correct the problem -->

### Screenshots
<!-- If your change is visual, take a screenshot showing it. Ideally,
make before/after sceenshots -->
After:

![image](https://github.com/WerWolv/ImHex/assets/10099533/c45d2001-8790-430a-8f1a-4b65130f4d01)


### Additional things
<!-- Anything else you would like to say -->
2024-06-09 10:54:09 +02:00
..
builtin fix: Allow bookmark region to be set to 1 Byte length (#1747) 2024-06-09 10:54:09 +02:00
decompress impr: Display background scripts in about page 2024-05-08 22:30:53 +02:00
diffing lang: Added Hungarian translations (#1683) 2024-05-19 14:33:33 +02:00
disassembler lang: Added Hungarian translations (#1683) 2024-05-19 14:33:33 +02:00
fonts fix: Icons not being fractionally scaled anymore 2024-03-28 22:15:30 +01:00
hashes lang: Added Hungarian translations (#1683) 2024-05-19 14:33:33 +02:00
script_loader fix: Build issues 2024-06-07 21:57:39 +02:00
ui feat: Highlight patterns in pattern data view that are fully selected 2024-06-07 19:59:11 +02:00
visualizers lang: Added Hungarian translations (#1683) 2024-05-19 14:33:33 +02:00
windows lang: Added Hungarian translations (#1683) 2024-05-19 14:33:33 +02:00
yara_rules lang: Added Hungarian translations (#1683) 2024-05-19 14:33:33 +02:00