diff options
Diffstat (limited to 'sdext/source/presenter/PresenterTextView.cxx')
-rwxr-xr-x | sdext/source/presenter/PresenterTextView.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sdext/source/presenter/PresenterTextView.cxx b/sdext/source/presenter/PresenterTextView.cxx index 8cd308dc230f..b0cc9f4cc9c9 100755 --- a/sdext/source/presenter/PresenterTextView.cxx +++ b/sdext/source/presenter/PresenterTextView.cxx @@ -380,10 +380,12 @@ void PresenterTextView::MoveCaret ( // the previous or the start of the next paragraph. pParagraph = GetParagraph(nParagraphIndex); if (pParagraph) + { if (nDistance<0) nCharacterIndex = pParagraph->GetCharacterCount(); else nCharacterIndex = 0; + } } } else |