]> git.lyx.org Git - lyx.git/commitdiff
Initialize member
authorGeorg Baum <baum@lyx.org>
Fri, 9 Oct 2015 21:15:54 +0000 (23:15 +0200)
committerGeorg Baum <baum@lyx.org>
Fri, 9 Oct 2015 21:15:54 +0000 (23:15 +0200)
This fixes the crash of bug #9788. However, the misparsing of \multicolumn
is still there: LyX thinks that the array has three columns, it inserts an
additional one before the multicolumn.

src/mathed/InsetMathGrid.cpp

index 7fc773759ca71fbc7d4014bd2f8220a2388ba778..ae325583617d165e3c4cf4181b91a353a6ec5759 100644 (file)
@@ -106,7 +106,7 @@ int InsetMathGrid::RowInfo::skipPixels(MetricsInfo const & mi) const
 
 
 InsetMathGrid::ColInfo::ColInfo()
-       : align_('c'), lines_(0)
+       : align_('c'), lines_(0), skip_(0)
 {}