فهرست منبع

Fix for 906217. If replying to an email inline, and a spell check is done,
spelling mistakes in the reply would be corrected on the wrong line (ie,
throughout the original email to which you are replying). This is caused
by aspell (and possibly ispell) ignoring empty lines.

jangliss 21 سال پیش
والد
کامیت
8b0c0afd7d
2فایلهای تغییر یافته به همراه4 افزوده شده و 2 حذف شده
  1. 2 0
      ChangeLog
  2. 2 2
      plugins/squirrelspell/modules/check_me.mod

+ 2 - 0
ChangeLog

@@ -112,6 +112,8 @@ Version 1.5.1 -- CVS
   - Fixed left frame mailbox list when sorting by case.
   - Separated fortune plugin configuration variables from main plugin scripts.
     See plugins/fortune/INSTALL.
+  - Fix for #906217 when checking spelling of inline replies, the corrected
+    words would appear through original email.
 
 Version 1.5.0
 --------------------

+ 2 - 2
plugins/squirrelspell/modules/check_me.mod

@@ -66,7 +66,7 @@ for ($i=0; $i<sizeof($sqspell_raw_lines); $i++){
   if(substr($sqspell_raw_lines[$i], 0, 1) != '>'){
     $sqspell_new_lines[$i] = ' ' . $sqspell_raw_lines[$i];
   } else {
-    $sqspell_new_lines[$i] = '';
+    $sqspell_new_lines[$i] = ' ';
   }
 }
 /**
@@ -435,4 +435,4 @@ if ($errors){
  * End:
  * vim: syntax=php et ts=4
  */
-?>
+?>