SOURCES: ajax-spell-fixes.patch - updated to 2.8
blekot
blekot at pld-linux.org
Thu Apr 19 14:49:21 CEST 2007
Author: blekot Date: Thu Apr 19 12:49:21 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- updated to 2.8
---- Files affected:
SOURCES:
ajax-spell-fixes.patch (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SOURCES/ajax-spell-fixes.patch
diff -u SOURCES/ajax-spell-fixes.patch:1.3 SOURCES/ajax-spell-fixes.patch:1.4
--- SOURCES/ajax-spell-fixes.patch:1.3 Sat Jun 25 23:17:00 2005
+++ SOURCES/ajax-spell-fixes.patch Thu Apr 19 14:49:16 2007
@@ -1,6 +1,5 @@
-diff -u ../pspell_comp.php ./pspell_comp.php
---- ../pspell_comp.php 2005-06-24 15:32:02.000000000 +0300
-+++ ./pspell_comp.php 2005-06-24 15:38:15.000000000 +0300
+--- spell_checker/pspell_comp.php.oryg 2007-04-19 14:37:05.000000000 +0200
++++ spell_checker/pspell_comp.php 2007-04-19 14:38:49.000000000 +0200
@@ -44,9 +44,9 @@
if(!defined('ASPELL_BIN')) define('ASPELL_BIN','aspell');
@@ -14,35 +13,24 @@
function pspell_config_create($language, $spelling=null, $jargon=null, $encoding='iso8859-1'){
return new Pspell($language, $spelling, $jargon, $encoding);
-@@ -120,23 +120,23 @@
- function _prepareArgs(){
- $this->args = '';
-
-- if($this->$language){
-- $this->args .= ' --lang='.escapeshellarg($language);
-- }else{
-+ if ($this->language) {
-+ $this->args .= ' --lang='.escapeshellarg($this->language);
-+ } else {
- return false; // no lang no spell
- }
-
+@@ -129,11 +129,11 @@
#FIXME how to support spelling?
-- if($this->$jargon){
+ if($this->$jargon){
- $this->args .= ' --jargon='.escapeshellarg($jargon);
-+ if ($this->jargon){
+ $this->args .= ' --jargon='.escapeshellarg($this->jargon);
}
-- if($this->$encoding){
+ if($this->$encoding){
- $this->args .= ' --encoding='.escapeshellarg($encoding);
-+ if($this->encoding){
+ $this->args .= ' --encoding='.escapeshellarg($this->encoding);
}
-- switch ($this->mode){
-+ switch ($this->mode) {
- case PSPELL_FAST:
- $this->args .= ' --sug-mode=fast';
- break;
+ switch ($this->mode){
+@@ -233,4 +233,4 @@
+ }
+ }
+
+-?>
+\ Brak znaku nowej linii na koñcu pliku
++?>
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/ajax-spell-fixes.patch?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list