Subversion Repository Public Repository

WOX2

Diff Revisions 15 vs 16 for /trunk/Java/src/wox/serial/SourceCodeGenerator.java

Diff revisions: vs.
  @@ -107,7 +107,7 @@
107 107
108 108 public final void indentMinus( int pBy )
109 109 {
110 - while ( mCurTabDepth.startsWith( " " ) && (pBy-- > 0) )
110 + for ( int i = 0; (i < pBy) && mCurTabDepth.startsWith( " " ); i++ )
111 111 {
112 112 mCurTabDepth = mCurTabDepth.substring( 1 );
113 113 }