From 32ccbb7f586003d43998e49503a5598272dcc5ff Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Tue, 1 Jul 2008 15:12:28 +0000 Subject: [PATCH] please Abdel git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25414 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Text.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Text.cpp b/src/Text.cpp index 44de33c46a..1bde616c31 100644 --- a/src/Text.cpp +++ b/src/Text.cpp @@ -590,11 +590,12 @@ bool Text::cursorForwardOneWord(Cursor & cur) Paragraph const & par = cur.paragraph(); // Paragraph boundary is a word boundary - if (pos == lastpos) + if (pos == lastpos) { if (pit != cur.lastpit()) return setCursor(cur, pit + 1, 0); else return false; + } if (lyxrc.mac_like_word_movement) { // Skip through trailing punctuation and spaces.