mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-08 04:20:09 +00:00
A couple of minor fixes, and changed code to use std::swap instead of swapVariables()
This commit is contained in:
parent
1fb8929c55
commit
904e1aba45
27 changed files with 65 additions and 61 deletions
|
|
@ -114,7 +114,7 @@ public:
|
|||
for (int j = numArgs; --j >= 0;)
|
||||
args.add (variantTojuceVar (pDispParams->rgvarg[j]));
|
||||
|
||||
result = v.invoke (memberId, args.getRawDataPointer(), numArgs);
|
||||
result = v.invoke (memberId, numArgs == 0 ? 0 : args.getRawDataPointer(), numArgs);
|
||||
}
|
||||
|
||||
if (pVarResult != 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue