From: Alfredo Braunstein Date: Thu, 4 Mar 2004 07:49:40 +0000 (+0000) Subject: avoid endless loop in LCursor::dispatch X-Git-Tag: 1.6.10~15476 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=97c371abd99c4e75be5795906dc196d6e4c600e5;p=features.git avoid endless loop in LCursor::dispatch git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8476 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/ChangeLog b/src/ChangeLog index f4acffa501..61ec77f516 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2004-03-04 Alfredo Braunstein + + * cursor.C (dispatch): avoid infinite loops + 2004-03-01 Alfredo Braunstein * rowpainter.C (paintSelection): fix x coordinates diff --git a/src/cursor.C b/src/cursor.C index 810fdc4eef..e712ea42d6 100644 --- a/src/cursor.C +++ b/src/cursor.C @@ -123,6 +123,7 @@ DispatchResult LCursor::dispatch(FuncRequest const & cmd0) // << " val: " << disp_.val() << endl; break; } + pop(); } bv().text()->dispatch(*this, cmd); if (nopop_)