1
0
Fork 0

Include the size in the selection->end of the memory map

This commit is contained in:
Duncan Ogilvie 2021-07-01 22:59:13 +02:00
parent 65625d9de5
commit 774db10fb3
1 changed files with 1 additions and 1 deletions

View File

@ -669,7 +669,7 @@ void MemoryMapView::selectionGetSlot(SELECTIONDATA* selection)
{
auto sel = getSelection();
selection->start = getCellUserdata(sel.front(), 0);
selection->end = getCellUserdata(sel.back(), 0);
selection->end = getCellUserdata(sel.back(), 0) + getCellUserdata(sel.back(), 1) - 1;
Bridge::getBridge()->setResult(BridgeResult::SelectionGet, 1);
}