From: André Pönitz Date: Wed, 12 Sep 2001 07:48:48 +0000 (+0000) Subject: fix bug discovered by Garst X-Git-Tag: 1.6.10~20624 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=4c973a6a7ee26c320833211e035f33618c285bdf;p=features.git fix bug discovered by Garst git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2729 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/math_gridinset.C b/src/mathed/math_gridinset.C index 944d87dccd..658f68477b 100644 --- a/src/mathed/math_gridinset.C +++ b/src/mathed/math_gridinset.C @@ -268,7 +268,7 @@ string MathGridInset::eolString(int row) const // make sure an upcoming '[' does not break anything MathArray const & c = cell(index(row + 1, 0)); - if (c.begin() && c.begin()->nucleus()->getChar() == '[') + if (c.size() && c.begin()->nucleus()->getChar() == '[') return "\\\\[0pt]\n"; return "\\\\\n";