Skip to content

Commit 709c43e

Browse files
committed
Fixed Documentation
1 parent be9c6bb commit 709c43e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

osrs/interfaces/chat/make.simba

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,15 +180,15 @@ begin
180180
end;
181181

182182
(*
183-
## Make.CreateDynamicQuantityButtons
183+
## Make.GetQuantityButtons()
184184
```pascal
185-
function TRSMake.CreateDynamicQuantityButtons(): array of TRSMakeQuantityButton;
185+
function TRSMake.GetQuantityButtons(): array of TRSMakeQuantityButton;
186186
```
187187
Returns the visible quantity buttons as a array of TRSMakeQuantityButton.
188188

189189
Example:
190190
```pascal
191-
WriteLn Make.CreateDynamicQuantityButtons();
191+
WriteLn Make.GetQuantityButtons();
192192
```
193193
*)
194194
function TRSMake.GetQuantityButtons(): array of TRSMakeQuantityButton;
@@ -235,7 +235,7 @@ var
235235
begin
236236
buttons := Make.FindQuantityButtons();
237237
for i := 0 to High(buttons) do
238-
WriteLn('Button ', i, ' bounds: ', buttons[i].Bounds);
238+
WriteLn('Button ', i, ' bounds: ', buttons[i].Button.Bounds);
239239
end;
240240
```
241241
*)

0 commit comments

Comments
 (0)