mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
fix bug discovered by Garst
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2729 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
6a3d139c9e
commit
4c973a6a7e
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user