Changeset cb190c0c in github


Ignore:
Timestamp:
Jul 30, 2012 12:22:48 PM (10 months ago)
Author:
Aleksander Machniak <alec@…>
Children:
8b34075
Parents:
90fab85
Message:

CS fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/include/rcube_spellchecker.php

    r041c93c rcb190c0c  
    236236                $suggestions = pspell_suggest($this->plink, $word); 
    237237 
    238                     if (sizeof($suggestions) > self::MAX_SUGGESTIONS) 
    239                         $suggestions = array_slice($suggestions, 0, self::MAX_SUGGESTIONS); 
     238                if (sizeof($suggestions) > self::MAX_SUGGESTIONS) { 
     239                    $suggestions = array_slice($suggestions, 0, self::MAX_SUGGESTIONS); 
     240                } 
    240241 
    241242                $matches[] = array($word, $pos, $len, null, $suggestions); 
Note: See TracChangeset for help on using the changeset viewer.