]> git.lyx.org Git - lyx.git/commitdiff
Fix a missing-braces warning for initialization of subobject
authorStephan Witt <switt@lyx.org>
Sat, 24 Oct 2015 19:10:36 +0000 (21:10 +0200)
committerStephan Witt <switt@lyx.org>
Sat, 24 Oct 2015 19:10:36 +0000 (21:10 +0200)
src/TexRow.cpp

index e72af19a784862e4d29886b1e68397571ebf0375..37e5f64c21a1918f169b3903f29241df4938d022 100644 (file)
@@ -75,7 +75,7 @@ void TexRow::RowEntryList::append(RowEntryList const & row)
 
 
 TexRow::TextEntry const TexRow::text_none = { -1, 0 };
-TexRow::RowEntry const TexRow::row_none = { false, TexRow::text_none };
+TexRow::RowEntry const TexRow::row_none = { false, { TexRow::text_none } };
 
 
 bool TexRow::isNone(TextEntry const & t)