Skip to content

Commit

Permalink
fix errors in list searching causing enforcer hits
Browse files Browse the repository at this point in the history
  • Loading branch information
dmcoles committed Jul 25, 2024
1 parent b8538e1 commit d366721
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion menuObject.e
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ ENDPROC
PROC findNode(n) OF menuSettingsForm
DEF node:PTR TO ln
node:=self.browserlist.head
WHILE (node)
WHILE (node.succ)
IF n=0 THEN RETURN node
n--
node:=node.succ
Expand Down
2 changes: 1 addition & 1 deletion rexxObject.e
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ PROC editCommands(commands:PTR TO stringlist) OF rexxCommandSettingsForm
IF res=MR_OK
commands.clear()
node:=self.browserlist.head
WHILE (node)
WHILE (node.succ)
GetListBrowserNodeAttrsA(node,[LBNCA_TEXT,{strval},TAG_END])
IF strval
IF StrLen(strval)
Expand Down

0 comments on commit d366721

Please sign in to comment.