From 25e98edd00542f9aa0340742e953c933307ac24a Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Mon, 28 Feb 2011 15:45:53 +0000 Subject: [PATCH] Please Abdel git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37802 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiErrorList.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontends/qt4/GuiErrorList.cpp b/src/frontends/qt4/GuiErrorList.cpp index 212cd39af5..b3ab09f79f 100644 --- a/src/frontends/qt4/GuiErrorList.cpp +++ b/src/frontends/qt4/GuiErrorList.cpp @@ -176,8 +176,8 @@ bool GuiErrorList::goTo(int item) while (dit.inset().lyxCode() == INFO_CODE) dit.forwardPos(); - // If this paragraph has zero size, highlight the previous one - while (dit.paragraph().size() == 0) + // If this paragraph is empty, highlight the previous one + while (dit.paragraph().empty()) dit.backwardPos(); // Now make the selection. -- 2.39.2