From 595dc950ecd096e4d401af51a09c13fc64392283 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Sat, 30 Oct 2004 14:49:51 +0000 Subject: [PATCH] fix typo in InsetCharStyle::priv_dispatch, which caused an infinite loop git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9145 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/ChangeLog | 2 ++ src/insets/insetcharstyle.C | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/insets/ChangeLog b/src/insets/ChangeLog index bed556a8f8..75a8de79d3 100644 --- a/src/insets/ChangeLog +++ b/src/insets/ChangeLog @@ -4,6 +4,8 @@ InsetText methods rather than outputVerbatim (escapes special characters) [bug 1731] * insetcharstyle.C (outputVerbatim): remove this function. + * insetcharstyle.C (priv_dispatch): fix typo in LFUN_MOUSE_PRESS, + which caused an infinite loop. 2004-10-29 José Matos diff --git a/src/insets/insetcharstyle.C b/src/insets/insetcharstyle.C index 01deae7cf8..ce726e776d 100644 --- a/src/insets/insetcharstyle.C +++ b/src/insets/insetcharstyle.C @@ -153,7 +153,7 @@ void InsetCharStyle::priv_dispatch(LCursor & cur, FuncRequest & cmd) if (cmd.button() == mouse_button::button3) has_label_ = !has_label_; else - InsetText::dispatch(cur, cmd); + InsetText::priv_dispatch(cur, cmd); break; default: