]> git.lyx.org Git - lyx.git/blobdiff - src/undo.C
fix "make dist" target
[lyx.git] / src / undo.C
index 22b318117661d8bf2891ab120a8bd907302daa4f..bc51dff11ea8a9ce4b71cc6972937a55b9f14e38 100644 (file)
@@ -4,18 +4,18 @@
  *           LyX, The Document Processor
  *      
  *           Copyright 1995 Matthias Ettrich
- *           Copyright 1995-1999 The LyX Team.
+ *           Copyright 1995-2000 The LyX Team.
  *
  * ====================================================== */
 
 #include <config.h>
 
-#include "undo.h"
-
 #ifdef __GNUG__
 #pragma implementation
 #endif
 
+#include "undo.h"
+
 
 Undo::Undo(undo_kind kind_arg,
           int number_before_arg, int number_behind_arg,
@@ -36,7 +36,7 @@ Undo::~Undo()
        LyXParagraph * tmppar;
        while (par) {
                tmppar = par;
-               par = par->next;
+               par = par->next();
                delete tmppar;
        }
 }