mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-21 21:52:10 +02:00
Bug 510773 - [traditional rendering] overlay mangles one in next cell
This patch fixes a variable overlay issue, that causes two overlays to become mistakenly mangled together. Change-Id: Idbee5b95f85810144dd71e2a397bd38fcd0bcec5
This commit is contained in:
parent
2899b9098e
commit
ac8224f763
1 changed files with 1 additions and 1 deletions
|
@ -391,7 +391,7 @@ public class RenderingAddressInfo extends Rendering
|
|||
// If any address within the item width is within the visible range we want it in the filtered
|
||||
// result
|
||||
BigInteger itemStart = item.getAddress();
|
||||
BigInteger itemEnd = item.getAddress().add(item.getRangeInAddressableUnits());
|
||||
BigInteger itemEnd = item.getAddress().add(item.getRangeInAddressableUnits()).subtract(BigInteger.ONE);
|
||||
boolean itemStartIsInRange = isWithinRange(itemStart, startAddress, endAddress);
|
||||
boolean itemEndIsInRange = isWithinRange(itemEnd, startAddress, endAddress);
|
||||
boolean itemSpansOverVisibleRange = isWithinRange(startAddress, itemStart, itemEnd)
|
||||
|
|
Loading…
Add table
Reference in a new issue