[prev in list] [next in list] [prev in thread] [next in thread] 

List:       aspell-user
Subject:    Re: [Aspell-user] Problems with aspell, xemacs and LaTeX files
From:       Kevin Atkinson <kevina () gnu ! org>
Date:       2002-10-04 11:51:52
Message-ID: Pine.LNX.4.44.0210040751100.2216-200000 () kevin-pc ! atkinson ! dhs ! org
[Download RAW message or body]

This patch should fix the problem.

Be sure and let me know if it does.

-- 
http://kevin.atkinson.dhs.org

["fix.diff" (TEXT/PLAIN)]

Index: prog/aspell.cpp
===================================================================
RCS file: /cvsroot/aspell/aspell/prog/aspell.cpp,v
retrieving revision 1.25.2.4
diff -u -r1.25.2.4 aspell.cpp
--- prog/aspell.cpp	29 Sep 2002 03:00:42 -0000	1.25.2.4
+++ prog/aspell.cpp	4 Oct 2002 11:50:10 -0000
@@ -491,6 +491,8 @@
     buf.clear();
     while (c = getchar(), c != '\n' && c != EOF)
       buf.push_back(static_cast<char>(c));
+    if (c == '\n')
+      buf.push_back(static_cast<char>(c));
     buf.push_back('\0');
     line = buf.data();
     ignore = 0;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic