tex2lyx/text.cpp: bring back a comment as discussed

This commit is contained in:
Uwe Stöhr 2014-12-04 00:57:14 +01:00
parent 496647a8d3
commit 0d63bdfc16

View File

@ -2848,6 +2848,8 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
begin_inset(os, "Caption Below\n");
Context newcontext(true, context.textclass, 0, 0, context.font);
newcontext.check_layout(os);
// FIXME InsetArgument is now properly implemented in InsetLayout
// (for captions, but also for others)
if (p.next_token().cat() != catEscape &&
p.next_token().character() == '[') {
p.get_token(); // eat '['