]> git.pld-linux.org Git - packages/ajax-spell.git/blob - ajax-spell-fixes.patch
- updated to 2.8
[packages/ajax-spell.git] / ajax-spell-fixes.patch
1 --- spell_checker/pspell_comp.php.oryg  2007-04-19 14:37:05.000000000 +0200
2 +++ spell_checker/pspell_comp.php       2007-04-19 14:38:49.000000000 +0200
3 @@ -44,9 +44,9 @@
4  
5  if(!defined('ASPELL_BIN')) define('ASPELL_BIN','aspell');
6  
7 -define(PSPELL_FAST,1);         # Fast mode (least number of suggestions)
8 -define(PSPELL_NORMAL,2);       # Normal mode (more suggestions)
9 -define(PSPELL_BAD_SPELLERS,3); # Slow mode (a lot of suggestions) )
10 +define('PSPELL_FAST',1);         # Fast mode (least number of suggestions)
11 +define('PSPELL_NORMAL',2);       # Normal mode (more suggestions)
12 +define('PSPELL_BAD_SPELLERS',3); # Slow mode (a lot of suggestions) )
13  
14  function pspell_config_create($language, $spelling=null, $jargon=null, $encoding='iso8859-1'){
15      return new Pspell($language, $spelling, $jargon, $encoding);
16 @@ -129,11 +129,11 @@
17          #FIXME how to support spelling?
18  
19          if($this->$jargon){
20 -            $this->args .= ' --jargon='.escapeshellarg($jargon);
21 +            $this->args .= ' --jargon='.escapeshellarg($this->jargon);
22          }
23  
24          if($this->$encoding){
25 -            $this->args .= ' --encoding='.escapeshellarg($encoding);
26 +            $this->args .= ' --encoding='.escapeshellarg($this->encoding);
27          }
28  
29          switch ($this->mode){
30 @@ -233,4 +233,4 @@
31      }
32  }
33  
34 -?>
35 \ Brak znaku nowej linii na koƱcu pliku
36 +?>
This page took 0.0708530000000001 seconds and 3 git commands to generate.