Subversion Repository Public Repository

litesoft

Diff Revisions 609 vs 610 for /trunk/Java/core/Server/src/org/litesoft/codegen/SourceCodeGenerator.java

Diff revisions: vs.
  @@ -92,7 +92,7 @@
92 92
93 93 public final void indentMinus( int pBy )
94 94 {
95 - while ( mCurTabDepth.startsWith( " " ) && (pBy-- > 0) )
95 + for ( int i = 0; (i < pBy) && mCurTabDepth.startsWith( " " ); i++ )
96 96 {
97 97 mCurTabDepth = mCurTabDepth.substring( 1 );
98 98 }