~ubuntu-branches/ubuntu/maverick/ilohamail/maverick

« back to all changes in this revision

Viewing changes to IlohaMail/include/spellcheck.inc

  • Committer: Bazaar Package Importer
  • Author(s): Joerg Jaspert
  • Date: 2004-12-07 20:43:07 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20041207204307-zimody559g63u39n
Tags: 0.8.14-0rc1
New Upstream Release

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
                        while ( list($k, $line) = each($lines) ){
37
37
                                if (ereg("^>", $line)) $line = ""; //ignore quoted lines
38
38
                                if (!ereg("[a-zA-Z ]", $line)) $line = ""; //ignore lines that contain no text
 
39
                                if ($line[0]=='-') $line[0] = " ";
39
40
                                $line = chop($line);
40
41
                                if (!empty($line)) $started = true; //we won't write leading empty lines
41
42
                                if ($started) fputs($fp, $line."\r\n");