mirror of
https://github.com/processing/processing4.git
synced 2026-02-03 05:39:18 +01:00
fix for bug #110, the AIOOBE on auto format
This commit is contained in:
@@ -194,7 +194,7 @@ public class AutoFormat {
|
||||
c = string[j++] = getchr(); // extra char
|
||||
while (done == 0) {
|
||||
c = string[j++] = getchr();
|
||||
while(c != '/') {
|
||||
while ((c != '/') && (j < string.length)) {
|
||||
if(c == '\n' || c == '\r') {
|
||||
lineNumber++;
|
||||
putcoms();
|
||||
@@ -1008,4 +1008,4 @@ public class AutoFormat {
|
||||
}
|
||||
return (1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
9
todo.txt
9
todo.txt
@@ -12,9 +12,12 @@ X subclasses need to use "public void keyPressed" not "void keyPressed"
|
||||
X tweak linux version shell script to properly set directory name
|
||||
X http://dev.processing.org/bugs/show_bug.cgi?id=234
|
||||
|
||||
_ bugs in auto-format
|
||||
_ if an error occurs during format, report it and don't change text
|
||||
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1117081646
|
||||
bugs in auto-format
|
||||
X ArrayIndexOutOfBoundsException when trying to Auto Format
|
||||
X http://dev.processing.org/bugs/show_bug.cgi?id=110
|
||||
_ autoformat mangling code
|
||||
_ http://dev.processing.org/bugs/show_bug.cgi?id=109
|
||||
_ if an error occurs during format, report it and don't change text
|
||||
|
||||
|
||||
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
|
||||
|
||||
Reference in New Issue
Block a user