Ignore:
Timestamp:
12/14/12 14:30:35 (11 years ago)
Author:
douglasz
Message:

Ticket #3236 - Melhorias de performance no codigo do Expresso.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpgwapi/inc/csstidy/class.csstidy.php

    r5141 r7655  
    367367                        break; 
    368368                } 
    369                 $i++; 
     369                ++$i; 
    370370        } 
    371371 
     
    419419        $template = explode('|',$content); 
    420420 
    421         for ($i = 0; $i < count($template); $i++ ) 
     421        for ($i = 0; $i < count($template); ++$i ) 
    422422        { 
    423423                $this->template[$i] = $template[$i]; 
     
    470470    $cur_comment = ''; 
    471471 
    472     for ($i = 0, $size = strlen($string); $i < $size; $i++ ) 
     472    for ($i = 0, $size = strlen($string); $i < $size; ++$i ) 
    473473    { 
    474474        if($string{$i} == "\n" || $string{$i} == "\r") 
     
    812812            { 
    813813                $this->status = $this->from; 
    814                 $i++; 
     814                ++$i; 
    815815                $this->_add_token(COMMENT, $cur_comment); 
    816816                $cur_comment = ''; 
Note: See TracChangeset for help on using the changeset viewer.