]> git.lyx.org Git - features.git/commitdiff
fix bug #652
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 9 Oct 2002 13:07:29 +0000 (13:07 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 9 Oct 2002 13:07:29 +0000 (13:07 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5373 a592a061-630c-0410-9148-cb99ea01b6c8

src/ChangeLog
src/text3.C

index f4582bfebc9389437fa693b1f3bb263e4a3128b8..17d79406f90ae846e3cbc62e8011ba8af1d85d24 100644 (file)
@@ -1,3 +1,8 @@
+2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * text3.C (dispatch): when changing layout, avoid an infinite loop
+       [bug #652]
+
 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
 
        * lyxrc.C (read): treat a viewer or converter command of "none" as
index 1fe5b84b041900f1d7e3555c60ff9b63d13474cf..f13a5e0e3b6b21fe1dbc2a7e0b8692192252ae63 100644 (file)
@@ -1104,6 +1104,7 @@ Inset::RESULT LyXText::dispatch(FuncRequest const & cmd)
                                        change_layout = true;
                                        break;
                                }
+                               spar = spar->next();
                        }
                }
                if (change_layout) {