if (size - lineCount >= numLines) { return; } Color[] newLines = new Color[size+Math.max(Compatibility.pow2(lineExpandExp), numLines)];
if (size - lineCount >= numLines) return; Color[] newLines = new Color[size + Math.max(Compatibility.pow2(lineExpandExp), numLines)];
void expandLinesBy(int numLines) {	int size = lineBackgrounds.length;	if (size - lineCount >= numLines) {		return;	}	Color[] newLines = new Color[size+Math.max(Compatibility.pow2(lineExpandExp), numLines)];	System.arraycopy(lineBackgrounds, 0, newLines, 0, size);	lineBackgrounds = newLines;	lineExpandExp++;}