Closed
Description
Created by: ertdfgcvb
Description
When passing a char[]
as last parameter to createFont()
the array is changed (sorted?) in place.
Expected Behavior
The array shouldn't be touched by the function.
Steps to Reproduce
void setup(){
char[] c = {'c', 'b', 'a'};
PFont f = createFont("Helvetica", 16, false, c);
println(c);
}
[0] 'a'
[1] 'b'
[2] 'c'
Your Environment
- Processing version:
4.0a3 - Operating System and OS version:
- MacOS 10.15.7
Metadata
Metadata
Assignees
Labels
No labels