From: Georg Baum Date: Fri, 9 Oct 2015 21:15:54 +0000 (+0200) Subject: Initialize member X-Git-Tag: 2.2.0alpha1~251 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=8a6fad9cea70a6fb02c7129dbcd7527cd9a8af71;p=features.git Initialize member 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. --- diff --git a/src/mathed/InsetMathGrid.cpp b/src/mathed/InsetMathGrid.cpp index 7fc773759c..ae32558361 100644 --- a/src/mathed/InsetMathGrid.cpp +++ b/src/mathed/InsetMathGrid.cpp @@ -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) {}