Skip to content

Commit 6030f96

Browse files
committed
Don't break C++ style (//) comments during auto-format.
http://code.google.com/p/arduino/issues/detail?id=255
1 parent 6036846 commit 6030f96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/processing/app/tools/AutoFormat.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ public void putcoms()
241241
public void cpp_comment() throws IOException
242242
{
243243
c = getchr();
244-
while(c != '\n' && c != '\r' && j<133)
244+
while(c != '\n' && c != '\r')
245245
{
246246
string[j++] = c;
247247
c = getchr();

0 commit comments

Comments
 (0)