Skip to content

Commit

Permalink
fix: address range is exclusive on higher bound
Browse files Browse the repository at this point in the history
  • Loading branch information
EliseZeroTwo committed Feb 18, 2022
1 parent 3349647 commit 77cfed1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def OnAddressChange(self, context, frame, view, location):
class SEHWidget(QWidget, UIContextNotification):
def gotoAddr(self, addr):
for x in self.dict:
if x[0] <= addr <= x[1]:
if x[0] <= addr < x[1]:
row = self.dict[x]
self.list.setCurrentRow(row)
self.listItemClicked(self.list.item(row))
Expand Down

0 comments on commit 77cfed1

Please sign in to comment.