Skip to content

Commit 54808a9

Browse files
committed
FIX Typos
Closes #146
1 parent 24252df commit 54808a9

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

changelog.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,4 +363,5 @@ Before `08/07/2021` a change log was not kept. We have retrospectively gone back
363363
- 2025-09-30 `stdRibbon` FIX - Mac compatibility layer for stdRibbon. Also fixed a bug related to the above change.3
364364
- 2025-10-01 `stdCallback` FIX - Added `macCallByName` for Mac compatibility.
365365
- 2025-10-14 `stdCallback` FIX - Optimisation for `RunEx` function
366-
- 2025-10-14 `stdJSON` FIX - Fix for negative number serialization.
366+
- 2025-10-14 `stdJSON` FIX - Fix for negative number serialization.
367+
- 2025-11-21 `stdCallback` FIX - Fixing typos. See #146.

src/stdCallback.cls

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ Public Function RunEx(ByVal vArr As Variant) As Variant
476476

477477
ReDim vType(0 To iParamCount - 1)
478478
For lIdx = 0 To iParamCount - 1
479-
vType(lIdx) = .iParamTypes(i)
479+
vType(lIdx) = .iParamTypes(lIdx)
480480
Next
481481
End If
482482

@@ -491,7 +491,7 @@ Public Function RunEx(ByVal vArr As Variant) As Variant
491491
End If
492492

493493
'Call function
494-
Const CC_STDCALL = 5
494+
Const CC_STDCALL = 4
495495
Dim hResult2 As Long
496496
#If Mac Then
497497
Call Err.Raise(1, "stdCallback", "Calling functions by pointer is not supported on Mac")

0 commit comments

Comments
 (0)