Skip to content

Commit

Permalink
fix: make address range inclusive
Browse files Browse the repository at this point in the history
  • Loading branch information
EliseZeroTwo committed Feb 17, 2022
1 parent 487f572 commit f4cab7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __init__.py
Expand Up @@ -57,7 +57,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 f4cab7f

Please sign in to comment.