From 8a6fad9cea70a6fb02c7129dbcd7527cd9a8af71 Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Fri, 9 Oct 2015 23:15:54 +0200 Subject: [PATCH] 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. --- src/mathed/InsetMathGrid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {}