mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Use start instead of 0 for the starting index in text(char[], int, int, float, float) (#1257)
This commit is contained in:
@@ -4768,7 +4768,7 @@ public class PGraphics extends PImage implements PConstants {
|
||||
}
|
||||
|
||||
// int start = 0;
|
||||
int index = 0;
|
||||
int index = start;
|
||||
while (index < stop) { //length) {
|
||||
if (chars[index] == '\n') {
|
||||
textLineAlignImpl(chars, start, index, x, y);
|
||||
|
||||
Reference in New Issue
Block a user