On 16-May-2000 schmitt wrote:
> Hi,
> 
> I proudly (?) present the first purify warnings:
> 
> I just entered two paragraphs with just one 'a' character. Selected both
> pars and cut them.
> 
> Good luck for finding the bug!
> 
> Mike
> 
> 
>       FMR: Free memory read
>       This is occurring while in:
>             LyXParagraph*LyXParagraph::Next() [paragraph.C:1197]
>             void LyXText::CutSelection(bool) [text2.C:2227]
>             void BufferView::cut() [BufferView2.C:590]

Thanks fixed!

      Jürgen

--- text2.C     2000/05/04 10:56:59 
+++ text2.C     2000/05/17 08:08:41
@@ -2224,7 +2224,7 @@
        cursor.par = sel_end_cursor.par = endpar;
        cursor.pos = sel_end_cursor.pos;
     }
-    endpar = sel_end_cursor.par->Next();
+    endpar = endpar->Next();
 
     // sometimes necessary
     if (doclear)

-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Dr. Jürgen Vigna                      E-Mail: [EMAIL PROTECTED]
Italienallee 13/N                     Tel:    +39-0471-450260
I-39100 Bozen                         Fax:    +39-0471-450296
ITALY                                 Web:    http://www.sad.it/~jug

"Don't hate me because I'm beautiful.  Hate me because I'm beautiful, smart 
and rich."
-- Calvin Keegan

-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Reply via email to