add some brackets to silence warnings
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user